4 ms·
> Don't pin the blame on a programming paradigm if your developers are clueless about basic software engineering principles. You can write OO code without inhe
by smt88 6y ago
> Don't pin the blame on a programming paradigm if your developers are clueless about basic software engineering principles.
You can write OO code without inheritance. Inheritance is syntactical sugar, essentially. You can accomplish the same things with interfaces and composition.
The difference between composition and inheritance is that a composed method is fully discoverable. I can see every statement. There's no secret parent method running before or after.