lambda expression parameters

Venkat Subramaniam venkats at agiledeveloper.com
Tue Dec 18 13:40:25 PST 2012


Hi

Is there plans to make the inferred parameter of a lambda expression final by default.
Right now, we can't specify the parameter is final unless we provide it with the type.

In the spirit of leaning towards immutability, which is a better practice, would it be possible to

(a) make all inferred parameters of lambda expressions final, and
(b) to make it non-final, force the developers to explicitly request (like the mutable in F#).

It's more of a wish-list, if that's something that can be considered.

Thanks,

Venkat


More information about the lambda-dev mailing list