Re:Java memes which refuse to die
by dkhenry on Monday August 27, 2012 @09:03AM
(#4438578)
There are a lot more then 4. I didn't even see anything about Factory Factories.
[ Parent
| on HN ]
Factory factories USED to be a problem in my Java programming, but they aren't anymore because I created a configurable builder class for generating my factory factories. I call it FactoryFactoryBuilder, and it completely eliminated the factory factory problem.
That sounds like a great idea. I bet you could even use some XML configuration files to make it even more extensible.
Re:Java memes which refuse to die
by papercrane on Monday August 27, 2012 @11:01AM
(#4439093)
I haven't actually seen a Factory Factory in a while. I think Dependency Injection has pretty much killed that anti-pattern.