Cool. Thanks for referencing my post.
But it all boils down to use cases in the end.
Using a separate builder class enforces the immutability I suppose. The way I see is: it abstracts the object creation effectively.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Cool. Thanks for referencing my post.
But it all boils down to use cases in the end.
Using a separate builder class enforces the immutability I suppose. The way I see is: it abstracts the object creation effectively.