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

Why? It specifically chooses to drop one piece of OO, object inheritance, but it does have functional inheritance. It even has Deref which gives back a form of object inheritance.

It supports polymorphic functions like other OO languages.

While I find functional patterns more useful in Rust, that doesn’t prevent OO design where it’s desirable.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: