Skip to main content
4 events
when toggle format what by license comment
Nov 30, 2012 at 21:23 comment added ZeroOne Thanks for you answer, @dmaij. :) It would make sense to me to add some factory-like features to the builder like this.
Nov 29, 2012 at 21:43 comment added Konrad Rudolph I think you’re confusing the builder pattern with the factory method pattern. While dynamic constructor dispatch can be done by the builder, that’s not its main purpose. The main purpose is exactly what OP has said (but his use-case is rather restricted). Consider Java’s StringBuilder class. No inheritance or dynamic dispatch is used here.
Nov 29, 2012 at 18:59 review First posts
Nov 29, 2012 at 19:09
Nov 29, 2012 at 18:42 history answered dmaij CC BY-SA 3.0