3 ms·
I should clarify: I don't have a problem with the factory pattern. I have a problem with piling abstractions and indirection on top of abstractions and indirec
by jmull 9y ago
I should clarify:
I don't have a problem with the factory pattern. I have a problem with piling abstractions and indirection on top of abstractions and indirection to create spaghetti systems.
I don't know how EventFactoryFactoryFactory is being used but it looks like we're dealing with four levels of abstraction simultaneously, which seem likely to me to be a horrible failure of design. (I'm kind of assuming this isn't an event planning system, or something, and that "event" is an abstraction for something happening.)