DEV Community

Discussion on: Builder Pattern

Collapse
 
eidher profile image
eidher

Build methods are not exactly the builder pattern. However, implicitly is the same. Your code could be in the Director participant. You could use a public static Builder class with or without an interface and the build result is the Product, in your case Vehicle.