Factory Design Pattern in C++ . Low Coupling. Multiple Derived Types of a Base Class.
#factorydesignpattern #designpattern #creationaldesignpattern #factorydesignpatternincpp #cplusplus #decoupleobjectscreation.
Factory Design pattern is used when there are multiple derived types of a particular base type and creation of those derived types needs to be decoupled with client.
In Factory Pattern, A Factoy Method / Static wrapper function in base type has a responsibility of creating the derived type depending upon the type of object requested by the client.
Benefits :
1. Low Coupling of derived types with the client.
2. Extensibility
3. Code ReUse
Видео Factory Design Pattern in C++ . Low Coupling. Multiple Derived Types of a Base Class. канала Sanchit Mehra
Factory Design pattern is used when there are multiple derived types of a particular base type and creation of those derived types needs to be decoupled with client.
In Factory Pattern, A Factoy Method / Static wrapper function in base type has a responsibility of creating the derived type depending upon the type of object requested by the client.
Benefits :
1. Low Coupling of derived types with the client.
2. Extensibility
3. Code ReUse
Видео Factory Design Pattern in C++ . Low Coupling. Multiple Derived Types of a Base Class. канала Sanchit Mehra
Комментарии отсутствуют
Информация о видео
22 января 2022 г. 22:21:19
00:32:47
Другие видео канала