News for hackers. Stuff that matters.
Re:Groovy 2.2 released by vorg on Monday November 18, 2013 @05:44PM (#6757790)
I'm wondering how easily Groovy will retrofit Java 8 lambdas when they come out. Groovy uses syntax

    {a,b-> a++;a+b}
for closures, whereas Java 8 uses syntax

    (a,b)->{a++;a+b}
Also Groovy uses delegates to make its closures dynamically scoped, whereas Java 8 uses lazy evaluation for its lambdas.

They're incompatible, both syntax and semantics.

Re:Groovy 2.2 released by blktiger on Monday November 18, 2013 @05:46PM (#6757807)
According to the Roadmap, they are planning on retrofitting Java 8 syntax in Groovy 3.