Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Traits in Rust are more a variant of Haskell typeclasses than of Smalltalk traits.

The whole FP vs OOP distinction does make little sense these days, as it has mostly been shown that each concept from the one can neatly fit within the other and vice versa.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: