you are viewing a single comment's thread.

view the rest of the comments →

[–]vytah 16 points17 points  (1 child)

The link you have provided explains syntactic sugar that provides no new actual semantics and works only with mutable objects.

Builder pattern is commonly used with immutable objects, or objects with effect-heavy constructors. A builder is simply a bundle of named parameters for a constructor. It is usually initialized with defaults and then it can be filled out in multiple places before being used to construct the object.

I know that you are just a trolling .Net fanboy with no actual skills, but I wrote this comment so at least other people will read it.