Design patterns are categorized to facilitate learning and extending them. They are classified in terms of the underlying problems they address, i.e. according to usage.
The three main design pattern categories are:
- Behavioral design patterns - characterize the manner of class and object interaction and how responsibilities are distributed among them.
- Creational design patterns - address the object creation process. Creational design patterns encapsulate knowledge about how, when, and by whom an instance is created.
- Structural design patterns - address the composition of classes and objects.
Design patterns vary both in granularity and level of abstraction.
No comments:
Post a Comment