Syntax poll, take 2
Brian Goetz
brian.goetz at oracle.com
Mon Jun 13 13:27:57 PDT 2011
>Ruby allows you to put the lambda as a postfix
> 'operator' , thus enables you to write:
>
> File.list {
> | dir, name |
> ...
> }
>
> which is _way_ better!
Which brings us full circle to the issue of control abstraction, which
was a central feature of BGGA.
The status on this:
- Completely out of scope for Java 8. (Don't bother lobbying.)
- However, we not hostile to this idea, and (all things being equal)
it does seem desirable to leave the door open to this in the future, if
that can be done without sacrificing too much. (This is a point in
favor of the BGGA syntax.)
More information about the lambda-dev
mailing list