๐งฉSoftware Design Patterns
Creational
Factory Method
Creating new objects directly via new
is replaced by a special factory method. Objects returned by the factory method are often called products. This is useful when have multiple types of objects that behave in a a similar way that we want to produce and use interchangeably.
Structural
Behavioural
Last updated