August 2018
Intermediate to advanced
248 pages
5h 51m
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 ...