Re:A FactoryFactoryFactory in Production
by KirinDave on Monday December 18, 2017 @11:56AM
(#15953048)
Because nested factory patterns are a legacy of an era where lambdas were not well understood, or poorly represented by the type system
Continued use of Factory patterns doesn't deserve outright mockery, but does deserve immediate and firm correction. It introduced confusion and complexity and ontology to a place where a nullary lambda would do everything it does, and slice away all the ambiguity.
Continued use of Factory patterns doesn't deserve outright mockery, but does deserve immediate and firm correction. It introduced confusion and complexity and ontology to a place where a nullary lambda would do everything it does, and slice away all the ambiguity.