Name of lambda parameters
Tim Peierls
tim at peierls.net
Mon Jan 7 15:16:24 PST 2013
On Mon, Jan 7, 2013 at 5:33 PM, Remi Forax <forax at univ-mlv.fr> wrote:
> On 01/07/2013 07:16 PM, Brian Goetz wrote:
>
>> I think this goes into the general bucket of "you can't do reflection
>> below the method level in Java", and lambda expressions are expressions and
>> therefore below the method level. Is lambda somehow special here?
>>
>
> Lambda are anonymous functions, so yes, they are special. They can be
> called, have parameters, like methods so reflection should work otherwise
> you can't specify meta-protocol using lambdas and having JEE being able to
> use lambdas seems a good idea.
>
What does "you can't specify meta-protocol using lambdas" mean, and why is
it a reason to add further complexity?
Reflection for lambdas sounds like a bad idea to me.
--tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130107/4b00baed/attachment.html
More information about the lambda-libs-spec-experts
mailing list