Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tancop
· 1mo ago · 0 comments
Traits are confusing if you came from C or Python but they work a lot like interfaces in Java or some other class based OOP language. Until you get to the difference between impl and dyn, that is.
Comments
[–]
skavi
1mo ago
for my own sake, i’ll note that i started learning rust in 2020. i’m no longer confused about Traits.