Latest draft of Defender Methods

Paul Benedict pbenedict at apache.org
Mon Aug 16 12:31:13 PDT 2010


Brian,

I believe the need for the "extension" keyword is superfluous. Correct me if
wrong, but you don't actually need an existing interface to use defender
methods, right? I create a brand new interface with all default
implementations provided? If so, then I put forth my opinion to remove the
keyword. The use of "default" is enough -- the use of "extension" implies a
use case that's not necessarily true: I don't need to augment an existing
interface to add default methods.

Paul

On Mon, Aug 16, 2010 at 2:01 PM, Brian Goetz <brian.goetz at oracle.com> wrote:

> I've posted a new draft of Defender Methods at:
>
>
> http://cr.openjdk.java.net/~briangoetz/lambda/Defender%20Methods%20v3.pdf<http://cr.openjdk.java.net/%7Ebriangoetz/lambda/Defender%20Methods%20v3.pdf>
>
>
>


More information about the lambda-dev mailing list