Syntax...
Paul Benedict
pbenedict at apache.org
Fri Nov 20 12:21:28 PST 2009
Neal,
If anything, I would tell the JSR-292 folks to use ^ over # for their
exotic identifiers ;-) But in terms of the closures, I think # is kind
of the universal identifier of a method .. especially since I saw that
method literals (using #) are also in JDK 7.
Paul
On Fri, Nov 20, 2009 at 1:44 PM, Neal Gafter <neal at gafter.com> wrote:
> Folks-
>
> The 0.6a syntax is based on CLang, but with # instead of ^. I kind of like
> ^ better, but that's slightly inconsistent with method references, which
> must use # because (a) that's the javadoc syntax, and (b) it would be
> ambiguous to use ^.
>
> How would you feel about using ^ instead of # for function types and
> lambdas:
More information about the closures-dev
mailing list