Re:Java Is Underhyped
by slver on Friday April 16, 2021 @12:51PM
(#26836258)
> 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.
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.