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*

4
  • 1
    This is best idea if you have multiple constructor, you can easily expand for new types and less error prone Commented Feb 24, 2009 at 14:29
  • @Dinesh - I agree, I use Builders all over my code. I love the pattern! Commented Feb 24, 2009 at 14:35
  • In my opioni it like a Fluent Interface (codemonkeyism.com/archives/2007/10/10/…) Commented Feb 24, 2009 at 16:51
  • 5
    However, the Builder can be a bit of a nuisance if you want to extend it (stackoverflow.com/questions/313729/…). Commented Feb 24, 2009 at 16:59