posted 24 years ago
Builder is when you wish to create a complex or aggregate object and builder encapsulates the creation and assembly of the parts. For example let's just say a car consists of the wheels, the engine and the remainder (body, etc). So to create the car, I need to create the wheels, create the engine, create the remainder and assemble this into the car. The CarBuilder would handle all of these details avoiding a very messy, overbloated Factory.