Skip to main content

5 docs tagged with "creational-patterns"

View all tags

Abstract Factory Pattern

A creational pattern that produces families of related objects without specifying their concrete classes.

Builder Pattern

A creational pattern that separates the construction of a complex object from its representation, allowing the same construction process to produce different results.

Factory Method Pattern

A creational pattern that defines an interface for creating an object but lets subclasses decide which class to instantiate.

Prototype Pattern

A creational pattern that creates new objects by copying (cloning) an existing instance rather than instantiating from scratch.

Singleton Pattern

A creational pattern that ensures a class has exactly one instance and provides a global access point to it.