DEV Community


Discussion on: Builder Patter

eidher profile image
eidher Author

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.