News for hackers. Stuff that matters.
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.
Re:Java memes which refuse to die by mcherm on Monday August 27, 2012 @11:45AM (#4439333)
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.
Re:Java memes which refuse to die by dkhenry on Monday August 27, 2012 @11:51AM (#4439364)
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.