Virtual Extension By Inversion of Responsibility
Paul Benedict
pbenedict at apache.org
Mon Jun 14 07:17:23 PDT 2010
Then in regards to my original question, what other language has
virtual extension methods? As I understand them, they allow new
interface methods to be introduced with default implementations.
Paul
On Sun, Jun 13, 2010 at 1:48 PM, Brian Goetz <brian.goetz at oracle.com> wrote:
> Quite so. Or, in other words, these are *static* extension methods, not
> *virtual* extension methods.
>
> On 6/13/2010 12:04 PM, Neal Gafter wrote:
>> These options all suffer the same problem that defender methods were
>> intended to fix: a subclass cannot override the implementation.
>>
>> -Neal
>>
>> On Jun 12, 2010, at 2:56 PM, Collin Fagan<collin.fagan at gmail.com> wrote:
>>
>>> Hi Everyone,
>>>
>>> I've put together a draft of a document that postulates an alternate
>>> implementation of virtual extension methods.
>>>
>>> http://www.box.net/shared/r24vvgma5p
>>>
>>> I welcome any feedback.
>>>
>>> Thanks,
>>>
>>> Collin
>>>
>>
>
>
More information about the lambda-dev
mailing list