Hacker News new | past | comments | ask | show | jobs | submit login

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.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: