groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Harvey <>
Subject Re: About the native-lambda branch
Date Sat, 13 Jan 2018 00:00:18 GMT
One of the largest reasons I found myself preferring Groovy over Java is the
quasi-final scoping restrictions of Lambdas. Please do not let this behavior
exist in Groovy. It makes functional programming very hard.

On the other hand, lambdas are superior for functional programming because
they can be differentiated with Java 8's functional type classes quite
easily. In a perfect world, this would be possible with Closures as well.

Sent from:

View raw message