Broken?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Mar 11 15:45:01 PDT 2014
On 3/11/14, 2:28 PM, Michel Fortin wrote:
> On 2014-03-11 21:16:28 +0000, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> said:
>
>> On 3/11/14, 1:45 PM, John Colvin wrote:
>>> You do support the introduction of the virtual keyword though, yes?
>>
>> If explained a good use case, I would.
>
> class Foo
> {
> final:
> void bar();
> void baz();
>
> virtual:
> void crack();
> void crunch();
>
> final:
> void dodge();
> void damp();
> virtual void divert();
> void doh();
> }
Got it, thanks. If we don't move forward with final by default, this is
too little utility to justify adding a keyword. (We could look into
making it a contextual keyword.)
Andrei
More information about the Digitalmars-d
mailing list