Lambda evaluation - postfix or prefix?
Fredrik Öhrström
fredrik.ohrstrom at oracle.com
Fri Jan 29 02:58:01 PST 2010
Stefan Schulz skrev:
> Am 29.01.2010 01:19, schrieb Rémi Forax:
>
>> I prefer a dot syntax, something like
>>
>
> +1
>
>
>> aLambdaThatReturnsALambda.do().do();
>>
>
> Whether it is "do" or "on" or "with" or "call" or "exec" or "invoke" or
> whatever descriptive verb, I much prefer it to some cryptic syntax where
> a symbol blends into the noise.
>
> The original idea was whether it would be possible to use a method-style
> invocation of lambdas. This has turned into a competition of finding the
> "shortest invocation style possible" disrespecting the Java-ish feel.
>
> Stefan
>
>
+1
Groups of thought,
what is Java-ish?--
Short is less.
//Fredrik
More information about the lambda-dev
mailing list