Java8 Lambdas Hacking to Groovy
20 January 2014 No Comments
It was about time Java introduced lambda expressions. I've been developing in Groovy for a while and the switch to Java is always (extremely) painful. But it's much better now.
I took the opportunity to redo the Java8 lab exercises in Groovy and I was surprised to see the Java syntax can be expressive. In some more involved cases, I would argue Java is even more expressive than Groovy. Yes, really.
So, is Java grooving now? Check out the code and see for yourself.