Design pattern: singleton, prototype and builder
In my previous article, I spoke about the factory patterns. These patterns are part of creational patterns. In this post we’ll focus on the rest of the creational patterns: the Singleton, the Builder and the prototype.