3 ms·
This is taking a shot at Java, and a pretty old "joke" but I've heard of this actually being a thing out in the wild: https://stevenheidel.medium.com/a-factory
by JohnMakin 3y ago
This is taking a shot at Java, and a pretty old "joke" but I've heard of this actually being a thing out in the wild:
https://stevenheidel.medium.com/a-factoryfactoryfactory-in-production-822478b5afbd https://stevenheidel.medium.com/a-factoryfactoryfactory-in-p...
- cataphract 3y agoIt's rich from someone coming from scala. I frequently see lambdas returning lambdas returning lambdas that return a new object.
- adasdasdas 3y agoIt's called currying and it's awesome
- nathell 3y agoReminds me of an issue I submitted against Apache WS-XMLRPC 15 years ago, related to a class named RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory: https://issues.apache.org/jira/browse/XMLRPC-147 https://issues.apache.org/jira/browse/XMLRPC-147
- deepsun 3y agoThanks for the source! Although, frankly speaking, Java libraries are still the most convenient to include/extend than most other compiled languages I've seen so far. Probably because of that culture of over-engineering for abstraction/extensibility.
- gottorf 3y agoAnother fun shot: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
- jameslk 3y agoLooks like the FactoryFactoryFactory was proposed but a PR wasn't ever created sadly: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition/issues/605#issuecomment-1222560743 https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...