Lambda syntax puzzler
Stuart Marks
stuart.marks at oracle.com
Mon Oct 14 22:34:46 PDT 2013
Either that, or make lambda formal parameters implicitly final. I've always
hated code that mutated its parameters anyway.
s'marks
On 10/12/13 6:50 AM, Samir Talwar wrote:
> :-D
>
> Now that traditional C-style `for` loops are a thing of the past, I think
> we should expunge the increment and decrement operators from the language.
> Python had the right idea.
>
> — Samir.
>
>
> On Sat, Oct 12, 2013 at 1:27 PM, Remi Forax <forax at univ-mlv.fr> wrote:
>
>> I'm sure that people of this list will be able to see the beauty of the
>> following code produced by one of my students.
>> IntPredicate p = i -> i --> 0;
>>
>> Rémi
>>
>>
>>
>>
>>
>
More information about the lambda-dev
mailing list