Final by default?

Dicebot public at dicebot.lv
Fri Mar 14 07:13:03 PDT 2014


On Friday, 14 March 2014 at 06:30:55 UTC, Manu wrote:
> 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.

!final scale much better, as it is consistent pattern that can be 
used for any attribute. I like it much more than virtual.

Sounds weird though. Having `virtual` and `!virtual` would have 
better option but is not feasible.


More information about the Digitalmars-d mailing list