Creatiepatronen gaan over objectcreatie — hoe objecten worden geïnstantieerd, flexibel gemaakt en ontkoppeld van de code die ze gebruikt. Ze omvatten Singleton, Factory, Builder, Prototype en Abstract Factory.
Wat creatiepatronen aanpakken
CREATIONAL patterns abstract and control HOW objects are CREATED:
→ instead of directly calling constructors everywhere (rigid, coupled), creational
patterns make object creation flexible, decoupled, and manageable
→ they help create objects in a way suited to the situation, decoupled from concrete classes
