Effectively final effective?

Paulo Levi i30817 at gmail.com
Thu Feb 25 18:46:26 PST 2010


Final should have been the default, non null should have been in the
language (and default), constructors should have not been allowed to call
protected methods, closures should have come on day one, reification should
have been included in generics, i miss map and reduce on arrays & lists, i
like list generators and RIIA and would love it in java.

The discussion is if it is worthwhile to allow final by default for captured
variables in lambdas considering that
a) anonymous classes have the opposite behavior, so things get slightly
inconsistent.
b) it is safer for threaded use.


More information about the lambda-dev mailing list