aliasing base methods
Ary Manzana
ary at esperanto.org.ar
Sun Feb 25 09:57:23 PST 2007
Frank Benoit (keinfarbton) escribió:
> My point is, i want this strange rules to be removed.
> And I want the override keyword not to be a useless thing.
>
> I propose:
> 1.) make an overload not hide base implementations
> 2.) make the override keyword required, to make it useful.
> 3.) remove the interface reimplementation rule.
>
> What do you think?
I also agree with the three points.
Number 2 is especially useful if a function in a base class is removed.
Inmediately you can tell which classes need to remove the overriden
functions because they are no longer in use, and can lead to bugs.
More information about the Digitalmars-d
mailing list