Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 4
    This is called Bloch Builder. It's NOT a design pattern of GoF at all. Commented Apr 7, 2017 at 1:02
  • 1
    This answer will cause more people mis-understand what actually called a Design Pattern. Commented Apr 7, 2017 at 1:03
  • 1
    @N1ng I don't want to extend this discussion but I don't understand your arguments at all. The way I presented the builder pattern is the way it should be used in current moment - having a lot of benefits. The GoF book is neither a oracle not a up-to-date book. The same with wiki. And so called Bloch Builder is correct implementation of Builder pattern from GoF (think about it!). And about the post you mentioned - nothing spectacular there. Commented Apr 7, 2017 at 14:55
  • 1
    Maybe you should mention it a little bit. Then people who are new to/interested in design patterns of GoF won't get the wrong concept. Commented Apr 7, 2017 at 15:09
  • 3
    @N1ng Design patterns not equals GoF. They were used long before GoF. Commented Apr 7, 2017 at 20:00