4 ms·
Who would have thought that OOP could be useful!
by high_na_euv 2y ago
Who would have thought that OOP could be useful!
- vkazanov 2y agoThis is not oop but polymorphism that is useful. And various forms of polymorphism are used in all kinds of programming paradigms. Also, this is a nice way to get the damn banana without getting lost in the jungle.
- jcelerier 2y agopolymorphism used that way is 100% the most traditional OOP possible ever
- vkazanov 2y agoYes, a similar approach to polymorhpism is supertypical for popular OOP-focused languages, along with other concepts.
- flykespice 2y agoisnt polymorphism inherently a subset of oop?
- vkazanov 2y agoNo, all popular functional languages have one flavour of polymorphism or the other. Or, in math speak, Oop means polymorphism but polymorphism doesn't mean oop.