As we mentioned, there is a total of 23 patterns linked to the original publication of the GoF group, but later on, other patterns belonging to the three main categories have appeared. Even a new category was defined: Concurrency patterns.
Among the three base categories, the additions are as follows:
- Creational: The following are the sub types of this category:
- Multiton: Focalizes the creation of classes through a single, global point and ensures that instances are only named instances.
- Object Pool: Provides a cached system to avoid the expensive acquisition (or release) of resources. It does this by recycling any object that is not being used. Many specialists consider it a generalization of the connection pool and thread ...