Since when did Java start sounding like, not Java? Is nullary a word? Lambda? Closure, isn't that a language? It's just stream management, why does it have to sound so complicated? Time to go back to C?
Since when did Java start sounding like, not Java? Is nullary a word? Lambda? Closure, isn't that a language? It's just stream management, why does it have to sound so complicated? Time to go back to C?
If you can't get all the Java programmers to switch to a functional programming language, just add enough functional features to Java that you can do FP in it. It's genius, really.
Within another version or two, maybe Scala will be unnecessary.
Ruby is about as complex of a language as there is, the syntax and formal language spec are nothing short of baroque, but its flexibility and expressiveness allows you to write succinct, drop-dead simple code in it, that could only be expressed with pages of boilerplate in Java.
Adding functional features to Java will make its spec and implementation more complex, but it can make actual Java code less complex.
Edit: Looking at jebblue’s comment again, maybe I'm understanding him wrong and he’s serious after all. Poe’s law (http://en.wikipedia.org/wiki/Poe%27s_law) is in effect. In case “Closure, isn't that a language?” is serious, here’s the answer: no, but Clojure (http://clojure.org/) is. The name “Clojure” is a pun on “closure” (source: https://groups.google.com/d/msg/clojure/4uDxeOS8pwY/UHiYp7p1...).