Defender Extension Methods -- Resolution and Invoccation
Neal Gafter
neal at gafter.com
Wed Aug 4 15:52:57 PDT 2010
On Wed, Aug 4, 2010 at 3:22 PM, Brian Goetz <brian.goetz at oracle.com> wrote:
> Your characterization of "keep interfaces code-free" is pretty close.
> While
> the introduction of default methods unfortunately dirties the distinction
> between interfaces and classes, we have taken a much smaller step than we
> could have (say, to mixins or traits or full multiple inheritance) in order
> to
> keep as much as possible to the true spirit of interfaces, which we still
> believe in. Therefore we believe that choosing a syntactic option that
> reflects that this philosophical leaning is in the best interest of the
> community.
It seems you've technically observed the word of "keep interfaces code-free"
without obeying the spirit of it. There is little point of putting the
programmer through the pain of the separation in the current specification
if the benefits of the separation don't accrue.
More information about the lambda-dev
mailing list