Broken?
Dicebot
public at dicebot.lv
Tue Mar 11 14:28:58 PDT 2014
On Tuesday, 11 March 2014 at 21:24:22 UTC, bearophile wrote:
> Dicebot:
>
>> Not in 2.065
>> 2.066 will introduce "virtual" keyword
>> 2.067+ will change the defaults if it will still be considered
>> good idea
>
> What's the point of having "virtual" if the default doesn't
> change?
>
> Bye,
> bearophile
frequently mentioned example:
class Something
{
final: // want all to be final by default
// ...
virtual void foo() {} // but this one function
}
I think just keeping "virtual" but not changing defaults is a
good practical compromise.
More information about the Digitalmars-d
mailing list