Re:I learned Haskell in just 15 years
by SkyMarshal on Monday June 17, 2024 @03:35PM
(#40710069)
> OK, then you know about currying, immutable data structures, map/reduce/filter, &c.
It's not a certainty you learn about those things from Java, depends on your team/manager/codebase. None of that is enforced in Java the way it is in fp. Plus, none of it is really core or native to Java, it was added on later.
That's how we got essays back in the 2000s like "The Perils of Java Schools", "Can Your Language Do This", and "Beating the Averages".
https://www.joelonsoftware.com/2005/12/29/the-perils-of-java...
https://www.joelonsoftware.com/2006/08/01/can-your-programmi...
OK, then you know about currying, immutable data structures, map/reduce/filter, &c.
Because Java has that since way back when. No real closures, I think, but that doesn't matter much because the anonymous functions do what you want pretty much all the time and you could probably invent your own closures if you really want something else.