Note: This content was generated by AI. I am working on this page to provide personal content of better quality.
Creational patterns
Nota bene : This content was generated by AI. I am working on this page to provide personal content of better quality.
Creational patterns abstract object instantiation. They make a system independent of how objects are created, composed, and represented.
List
| Pattern | Key idea |
|---|---|
Abstract Factory | Compatible product families |
| Builder | Step-by-step construction |
Factory Method | Subclasses choose the product |
| Prototype | Clone an existing instance |
| Singleton | Single global instance |