C/C++ week
Save up to 80 % on our C and C++ e-learning courses. Only this week!
Get up to 80 % extra points for free! 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.
Written by David Capka
FreeUnrated Show description
Factory (method)

Factory (method)

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

Prototype

The Prototype design pattern creates new instances by cloning existing prototypes. It allows us to replace the switch construct.
Written by David Capka
PROUnrated Show description
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.
Written by David Capka
PROUnrated Show description


 

Activities (1)