How about a combo?
Howard Lovatt
howard.lovatt at gmail.com
Sun Mar 21 21:09:37 PDT 2010
Jesse,
The response, see below, from Josh Bloch would appear to me to be more
productive. It gives specific issues with his opinion, it doesn't
make bizarre claims about how difficult the proposal is to understand and/or
implement, and the general tone is one of reason. Josh Bloch's comments I
would have thought are much more likely to convince people to come round to
his point of view.
-- Howard.
Response from Joshua Bloch:
My two cents:
#< #< R() throws E >( #< R( A ) throws E >, A ) > curry =
new #< #<R() throws E >( #< R( A ) throws E > l, A a ) >( l.( a ) );
Nesting is nice, but:
- The angle brackets will remind people of generics, which won't make
them happy.
- Angle brackets are a poor man's parentheses, because they do double
duty as unmatched operators (less than and greater than).
- The pound-sign+left-angle-bracket combo (#<) isn't exactly easy on the
eyes.
- The new keyword will be viewed as exactly the kind of boilerplate that
this effort was designed to eliminate.
I do think it makes sense to explore new syntax proposals, but I'm not sure
I like this one better than the one that's currently on the table.
Josh
More information about the lambda-dev
mailing list