7 ms·
This isn't the builder pattern, since these methods directly mutate the final result rather than a distinct builder object. Also, it's perfectly possible to ha
by jakelazaroff 8y ago
This isn't the builder pattern, since these methods directly mutate the final result rather than a distinct builder object.
Also, it's perfectly possible to have a non-mutatative builder that returns an entirely new builder instance with the given configuration at each step.