Builder vs Abstract factory design pattern
Factory design pattern in C++ is a creational design pattern which deals with creating objects without showing the exact class of object that is being created. This design pattern basically allows a class to defer the instantiation to sub-classes. General class diagram of Factory pattern is shown below.
(more…)