3 ms·
In OO languages, inheritance gets the most bang for the buck when used for polymorphism. All code reuse can be expressed with composition and delegation, bring
by sabellito 5y ago
In OO languages, inheritance gets the most bang for the buck when used for polymorphism.
All code reuse can be expressed with composition and delegation, bringing more flexibility, testability, cohesion, decoupling, etc, etc, etc.