5 ms·
Rust definitely is a good choice, if you can give up inheritance.
by unrealhoang 8y ago
Rust definitely is a good choice, if you can give up inheritance.
- MrBuddyCasino 8y agoWouldn’t classify Rust as OO though.
- 11235813213455 8y agoHe said the opposite
- bluejekyll 8y agoWhy? 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.
- jcelerier 8y agoRust has vtables and inheritance, that's fairly OO.