February 2019
Intermediate to advanced
672 pages
16h 50m
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 the following applies:
We saw how the builder pattern is used ...