Java 8 is featuring lambdas, which are similar to a construction Groovy has already for some time: closures. In Groovy we could already do this: def list = ['a', 'b', 'c'] print list.collect { it.toUpperCase() } // [A, B, C] where { it.toUpperCase() } is the closure. In […]