softwareas.com
Composition Is Testable, Inheritance Is Intuitive?
Ivan Moore [illustrates how to replace inheritance with composition]( He explains why the solution is testable, but I would argue there is a flipside: the resulting design is less intuitive. A comp…