Pattern for Flexible Object Programming

  • Matt Zandstra


With strategies for generating objects covered, we’re free now to look at some strategies for structuring classes and objects. I will focus in particular on the principle that composition provides greater flexibility than inheritance. The patterns I examine in this chapter are once again drawn from the Gang of Four catalog.


Class Diagram Composite Pattern Abstract Class Unit Object Inheritance Hierarchy 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Matt Zandstra 2010

Authors and Affiliations

  • Matt Zandstra

There are no affiliations available

Personalised recommendations