19
Purpose of Design Patterns
•The purpose reflects what the pattern does:
–Creational
•Concerned with the process of object creation. They defer part of object creation to subclasses or other objects
–Structural
•Concerned with the composition of classes or objects using inheritance or aggregation
–Behavioral
•Concerned with the ways classes and objects interact and distribute responsibility