Pattern Name | Usage |
---|---|
Singleton | Ensures a class has only one instance and provides a global point of access to it. |
Factory Method | Defines an interface for creating an object but lets subclasses alter the type of objects that will be created. |
Abstract Factory | Provides an interface for creating families of related or dependent objects without specifying their concrete classes. |
Builder | Separates the construction of a complex object from its representation, allowing the same construction process to create different representations. |
Prototype | Creates new objects by copying an existing object, known as the prototype. |
Object Pool | Manages a pool of reusable objects, optimizing resource use and improving performance. |