Preparing for the 0.2 draft
Mark Thornton
mthornton at optrak.co.uk
Fri Jan 29 12:22:32 PST 2010
Joshua Bloch wrote:
> True, but I haven't heard *any *arguments in favor of the "transparent this"
> that are in any way applicable to Java. Maybe I'm being dense, but I believe
> it's cargo cult language design. In Java, I believe it would be a
> gratuitous inconsistency, pure and simple. And I believe it would bite us
> sooner rather than later. If I'm wrong, I'd love to see some compelling,
> practical examples where having this refer to the enclosing instance is
> useful (in Java).
>
>
A decision could be delayed by not allowing an unqualified "this" at all
(the qualified form is unambiguous so could remain).
Mark Thornton
More information about the lambda-dev
mailing list