Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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-p...



Thanks 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.



Looks like the FactoryFactoryFactory was proposed but a PR wasn't ever created sadly: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...


It's rich from someone coming from scala. I frequently see lambdas returning lambdas returning lambdas that return a new object.


It's called currying and it's awesome


Reminds 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: