Singleton Pattern
Singleton pattern allows creation of only a single instance from a class
Dec 14, 20212 min read44

Search for a command to run...
Articles tagged with #beginners
Singleton pattern allows creation of only a single instance from a class

Prototype(clone) pattern allows copying an object using a prototypical instance

Builder pattern separates the construction of complex object from its representation

Object Pool (resource pools) provide container to reuse objects that are expensive to create.

Abstract Factory Method(kit) provides an interface for creating suits of related objects without specifying their concrete classes

Factory Method(virtual constructor) provides an interface for creating objects in a super-class, but defers instantiation to sub-classes.
