What is the meaning of this?
Mikael Grev
grev at miginfocom.com
Tue Feb 2 10:55:56 PST 2010
I must, slightly reluctantly due to historic reasons, agree as well. No matter how things are turned lambdas is something new and the object implementation should not shine through if not needed or shown advantageous.
Also, I have always thought declaring a variable as 'volatile' would've been a better solution than forcing it to be final since so many go around that anyway. I know I do sometimes, and I just feel dirty when I do, for no good reason since I know what I'm doing (most of the times anyway. Can't think of a bug introduced that way).
Cheers,
Mikael
On Feb 2, 2010, at 19:48 PM, Rémi Forax wrote:
> Le 02/02/2010 19:40, Neal Gafter a écrit :
>> I think Zdenek had it exactly right.
>>
>> A lambda expression is not an object creation expression. The function is
>> not declared within the scope of some object type. A lambda is written as
>> an independent block of code, and should be scoped accordingly. Trying to
>> make a lambda act the same as an anonymous class creation expression smacks
>> of cargo-cult language design.
>>
>
> I agree. Lambda is an anonymous function.
>
>> Cheers,
>> Neal
>>
>
> regards,
> Rémi
More information about the lambda-dev
mailing list