3 ms·
We can bring another OOP idea: loose coupling, strong cohesion. Inheritance can be useful when it captures a single shared aspect across multiple designs. It b
by low_tech_punk 2y ago
We can bring another OOP idea: loose coupling, strong cohesion.
Inheritance can be useful when it captures a single shared aspect across multiple designs. It becomes unwieldy when it captures multiple shared aspects where each aspect may need to change independently.