If you had money to place for a bounty, what would you choose?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Mon Dec 2 19:14:17 PST 2013
On 12/2/13 5:30 PM, Manu wrote:
> On 3 December 2013 08:43, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org <mailto:SeeWebsiteForEmail at erdani.org>>
> wrote:
>
> On 12/2/13 4:19 AM, Manu wrote:
>
> The problem is that virtual is irrevocable. It can't be removed
> without
> breaking the API
>
>
> Here we go again. No, that's not the problem. A similar issue goes
> about final.
>
>
> You can safely add virtual to a function where it wasn't previously
> present without breaking code.
If not breaking code is something of value to you, you should appreciate
that final-by-default would break a bunch of code.
Andrei
More information about the Digitalmars-d
mailing list