January 2015
Intermediate to advanced
212 pages
4h 22m
English
In this chapter, we have seen how to use the Builder design pattern. We use the Builder pattern for creating an object in situations where using the Factory pattern (either a Factory Method or an Abstract Factory) is not a good option. A Builder pattern is usually a better candidate than a Factory pattern when:
We saw how the Builder pattern is used in fast-food restaurants for preparing ...
Read now
Unlock full access