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

> Rust has traits and other constructs. So it definitely has a notion of encapsulation, polymorphism, etc., which are things associated with OOP.

Why do you associate polymorphism with OOP? It’s a pretty universal PL concept. Haskell’s polymorphism is one of the defining features of its type system.



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

Search: