4 ms·
Polymorphism does not really depend on inheritance. Go is an obvious counter-example. Also, it isn’t like OOP is one programming paradigm. It is several that m
by bborud 6y ago
Polymorphism does not really depend on inheritance. Go is an obvious counter-example.
Also, it isn’t like OOP is one programming paradigm. It is several that make up one region of a landscape. And within each paradigm there is room for styles.
Finally, if X is better: then ask instead how you (yes, you) will make other people use, and like, X. People change languages because they find something that helps them achieve goals.