aliasing base methods

Bill Baxter dnewsgroup at billbaxter.com
Sun Feb 25 09:28:05 PST 2007


Johan Granberg wrote:
> Frank Benoit (keinfarbton) wrote:
> 

> I'm more concerned about redability when the lines get to long than typing.

public override
int some_method_with_a_long_name(and with, lots of, parameters too);

??

> And I also don't think that enforcement of overload/override is that
> important, no other language I have used does this and if a class have so
> many methods that they cant be kept track of is probably missdesigned. 

I don't think it's so much a matter of having too many methods to keep 
track of, but just not realizing there's a method there you're 
shadowing, or accidentally getting the argument types slightly wrong.

--bb



More information about the Digitalmars-d mailing list