C# week November Black Friday
Black friday is here! Get up to 80 % extra points for free! More info
Only this week up to 80 % off on C# courses. More info

GOF - Creational patterns

Singleton

Singleton

Singleton is a popular design pattern that provides global access to a class instance. We'll show its advantages and disadvantages and program it.
FreeUnratedWritten by David Capka
Factory (method)

Factory (method)

Factory is a design pattern that separates the instance creation from the program itself. It provides additional initialization possibilities.
FreeUnratedWritten by David Capka
Prototype

Prototype

The Prototype design pattern creates new instances by cloning existing prototypes. It allows us to replace the switch construct.
PremiumUnratedWritten by David Capka
Builder

Builder

The Builder design pattern is often used for objects with a too complex constructor and separates the construction of the object into a separate builder.
PremiumUnratedWritten by David Capka


 

Activities (1)