4 ms·
Inheritance is probably misused a lot. Having deeply nested inheritance structures is definitely a bad idea. It is useful in some situations. Polymorphism on t
by robin_philip 9y ago
Inheritance is probably misused a lot. Having deeply nested inheritance structures is definitely a bad idea. It is useful in some situations.
Polymorphism on the other hand is a powerful technique to build flexible systems.