There is no particular limit to the number of creational patterns, any more than there is a finite number of possible blueprints for a house,
there are five which are particularly well-known.
- Factory Method pattern
- Abstract Factory
We have already looked at the Singleton pattern.
Later in this module, you will have a chance to explore the Factory Method pattern
The other three common creational patterns are described in this SlideShow:
Creational: This deals with the concept of how an object can be created.
This often involves isolating the details of object creation so your code is not dependent on what types of objects there are and thus does not have to be changed when you add a new type of object.
The aforementioned Singleton is classified as a creational pattern, and later in this course you will see examples of the Factory Method and Prototype.