Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 984 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 984 Bytes

python-design-patterns

A collection of design patterns in Python.

Creational Design Patterns:

Pattern Description
abstract_factory Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
builder Separate the construction of a complex object from its representation so that the same construction process can create different representations.
factory_method Provide an interface for creating an object, but let subclasses decide which class to instantiate.
prototype Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
singleton Ensure a class on has only one instance and provide a global point of accessing to it.