Why not finally allow bracket-less top-level keywords?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Mar 18 11:57:22 PDT 2012


On 3/18/12, deadalnix <deadalnix at gmail.com> wrote:
> Le 18/03/2012 17:49, Timon Gehr a écrit :
>> On 03/18/2012 05:25 PM, FeepingCreature wrote:
>>>
>>> Advantages: internally consistent, no need for completely new syntax,
>>> "final class" can be deprecated (it never worked well anyway).
>>>
>>
>> final class means that the class cannot be inherited from.
>
> What is the point to inherit is no virtual method exists ?
>

Final classes might be useful for e.g. leaf classes.


More information about the Digitalmars-d mailing list