Re: Factories and Builders [was Re: lambdak...]

2015-01-16 Thread Gregory Ewing
Steven D'Aprano wrote: I've never really understand why "abstract factory", "factory method" and "builder" are considered different design patterns. They're variants on the same idea. I think it's because they address different problems. Factories are for hiding the details of how an object is

Factories and Builders [was Re: lambdak...]

2015-01-15 Thread Steven D'Aprano
Roy Smith wrote: > The ebb and flow of technology has recently brought me someplace I never > thought I'd be.  Java-land.  And what I've discovered is that factories > are so last year.  Apparently builders are the new thing. I've never really understand why "abstract factory", "factory method"