April 2017
Intermediate to advanced
564 pages
24h 7m
English
Sometimes, some creational patterns overlap each other, while other times, they compliment each other. For example, an abstract factory is commonly implemented as a singleton pattern itself so as to have a single instance of the abstract factory object. Abstract factory can store the prototypes from which it can return the newly created cloned objects. Abstract factories are often implemented as a number of factory methods (which is what I prefer as well) that promote creation through inheritance and give you dual flexibility with both abstract factory and factory method at the same time. Some abstract factories can also be implemented using the prototype pattern internally that promotes creation through ...
Read now
Unlock full access