When does final mean "maybe, kinda, sorta" ?
kris
foo at bar.com
Tue Jan 23 00:26:10 PST 2007
Steve Horne wrote:
[snip]
> And adding a new private member to a base class should not
> break any derived classes that might happen to already use the same
> signature for a (private or public) method, especially since you may
> have no control or even knowledge of those derived classes.
Given that, I'd imagine you'd be a proponent of making 'override' a
required keyword? After all, not requiring it will likely lead to the
same type of problem when a base-class method is removed.
Yet, judging by past record, override is unlikely to ever be required.
More information about the Digitalmars-d
mailing list