No subject

Lukas Eder lukas.eder at
Mon Dec 19 00:35:44 PST 2011

> I understand extension methods are vital for evolving interfaces.
> But in my opinion they should be used for just that. If we start
> adding "final" extension methods too, then why not simply
> introduce multiple inheritance straightaway?

According to page 42 of the presentation I mentioned, extension
methods really *are* an additional means of multiple inheritance,
"final" or not. Interfaces already provide multiple inheritance of
types, now there'll also be multiple inheritance of "behaviour", or
something similar to "stateless traits":

Whether "final" is allowed or not is probably not very important to
that discussion.


More information about the lambda-dev mailing list