Sir Garlon writes:
"Oracle released version 8 of the Java Development Kit (JDK) 8 to general availability on Wednesday, March 19, 2014. (A release candidate has been available since January 2014.) The release notes include a long list of security improvements as well as support for lambda expressions."
(Score: 5, Interesting) by nukkel on Friday March 21 2014, @04:23PM
It is said that all programming languages, as they evolve, converge to Lisp/Scheme, and ever since Python became hugely popular, it is certainly trendy these days to extend languages so as to provide functor/lambda/closure-like syntax.
However I'm not so sure it is a good fit for Java, for the following reasons:
Frankly, I think that if you want to do functional programming in a Java environment, a solution like Clojure is a better fit. It gives you a much more Lisp/Scheme-like language (real closures, hygienic macros, weak typing, ...) and full interop with the Java parts and dependencies of your program.
Just my 2 cents!
(Score: 1, Interesting) by Anonymous Coward on Friday March 21 2014, @05:59PM
I had been superficially exposed to Lisp for a long time, but never bothered with it due to its almost grammar-free nature, but Clojure got me to learn Lisp. Even if you don't end up using it as one of your main language, your effort at learning Clojure/Lisp will be rewarded - it definitely expands the way you think about how to solve problems.
Scala is another JVM language with FP empahsis. It's to Java what C++ was to C - seemingly a good idea initially, but one thing led to another and it has been turning into an unholy monster. Ultimately, I don't trust the judgment of the guy leading its development. Doesn't help that he was a principal behind Java generics.
(Score: 2) by Nerdfest on Friday March 21 2014, @06:06PM
I'm mainly a Java developer these days, and in general, I like the language, although they need to pick up a few features to reduce the boiler plate code that's required, although most IDE's will take care of most of it. There are places though, that absolutely scream for Lamda functions. As with most features, I think it will work out quite well as long as people don't abuse the FP aspects and use them where aren't the optimal solution for readability.