News for hackers. Stuff that matters.
Re:New language features since Java 8 to 17 by weatherlight on Monday October 25, 2021 @09:12AM (#28987369)
...and therein lies the problem.

having some sort of syntax for lambdas does not a function programming language make.

There's nothing about the Java syntax or design that lends its self to FP. Lambdas were bolted on to the language after the fact..

That's like saying Scheme is Object oriented because its trivial to make objects from closures, and should one decide to go deeper, you could easily define macros for classes, methods, etc.

It's grossly disingenous to call Java functional, or even compare it to other functional programming languages.

There are no comments on this comment yet.