3 ms·
...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 o
by weatherlight 5y ago
...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.