3 ms·
Sparkles of inheritance can be good. I use them sometimes to aid functional combinators.
by mirekrusin 7y ago
Sparkles of inheritance can be good. I use them sometimes to aid functional combinators.
- sreque 7y agoRight. I'm not saying inheritance should never be used; just that it can be a distraction for learning what OOP is really about. If I were to teach OOP in Java to new students, I might start out just focusing on interfaces.