3 ms·
> You know the joke: a dev has a problem, uses Java, and now has a ProblemFactory :) It's a funny joke, but it maligns a harmless pattern identical in FP to a
by slver 6y ago
> You know the joke: a dev has a problem, uses Java, and now has a ProblemFactory :)
It's a funny joke, but it maligns a harmless pattern identical in FP to a function returning a function.
While FP coders would brag about how awesome high-order functions are, we just keep mocking our own style for some reason. Factories are very powerful when used right.