4 ms·
There are a lot more then 4. I didn't even see anything about Factory Factories.
by dkhenry 14y ago
There are a lot more then 4. I didn't even see anything about Factory Factories.
- papercrane 14y agoI haven't actually seen a Factory Factory in a while. I think Dependency Injection has pretty much killed that anti-pattern.
- mcherm 14y agoFactory 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.
- dkhenry 14y agoThat sounds like a great idea. I bet you could even use some XML configuration files to make it even more extensible.