3 ms·
Not at all. Not having classes is not the same as not having polymorphism. Rust supports polymorphism just fine (and one could argue its support for polymorphis
by pkolaczk 4y ago
Not at all. Not having classes is not the same as not having polymorphism. Rust supports polymorphism just fine (and one could argue its support for polymorphism is actually much more advanced than that of Java's; but that's not enough reason to use it everywhere).
- whstl 4y agoThe greatest trick OOP ever pulled was convincing the world that polymorphism didn't exist outside OOP.