aliasing base methods

Ary Manzana ary at esperanto.org.ar
Sun Feb 25 11:23:35 PST 2007


Bill Baxter escribió:
> Ary Manzana wrote:
>> 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.
> 
> Already works that way if you just use override religiously.
> 
> --bb

But who in this days believe in programmers? :-P



More information about the Digitalmars-d mailing list