On 14 March 2014 16:20, Walter Bright <newshou...@digitalmars.com> wrote:

> On 3/13/2014 8:40 PM, Daniel Murphy wrote:
>
>> "Walter Bright"  wrote in message news:lft8ok$2epl$1...@digitalmars.com...
>>
>>  Also,
>>>
>>>      class C { final: ... }
>>>
>>> achieves final-by-default and it breaks nothing.
>>>
>>
>> No, it doesn't, because it is not usable if C introduces any virtual
>> methods.
>>
>
> That's what the !final storage class is for.
>

Please don't consider !final, that's like pouring lemon juice on the would.
Use virtual, it's a keyword that everybody knows and expects, and already
exists in peoples code that they might be migrating to D.

Reply via email to