Luomisen mallit käsittelevät objektien luomista — kuinka objektit luodaan, tehdään joustaviksi ja erotetaan niitä käyttävästä koodista. Niihin kuuluvat Singleton, Factory, Builder, Prototype ja Abstract Factory.
Mitä luomisen mallit ratkaisevat
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
