Design patterns are usually grouped into several distinct categories, according to their focus. The first three in the following list are the ones that appeared in the original GoF book, but more categories have been added. They are as follows:
- Behavioral design patterns: These have to do with interactions and communications between objects. Rather than focusing on how objects are created or built, the key consideration is how to connect them so that they can cooperate when performing a complex task, preferably in a way that provides well-known advantages, such as diminished coupling or enhanced cohesiveness.
- Creational design patterns: These deal with ways to create objects in a manner that is suitable for the ...