Hacker News new | ask | show | jobs
by tancop 55 days ago
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.
1 comments

for my own sake, i’ll note that i started learning rust in 2020. i’m no longer confused about Traits.