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

deadalnix deadalnix at gmail.com
Mon Mar 19 03:05:27 PDT 2012


Le 18/03/2012 19:57, Andrej Mitrovic a écrit :
> 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.

This doesn't address the question.


More information about the Digitalmars-d mailing list