generalizing hiding rules

bearophile bearophileHUGS at lycos.com
Fri Oct 2 11:16:08 PDT 2009


Andrei Alexandrescu:

> Disallowing hiding vertically in nested scopes has been quite 
> successful. Also, D's no-hijack stance is also shaping up to be a hit. I 
> am therefore thinking - why not apply the no-hijack rule throughout the 
> language?

I agree that making D tidier in such regards is positive, helps avoid errors. "Explicit is better than implicit" says Python Zen (even if in such attribute scoping regards Python has some design holes).

Bye,
bearophile



More information about the Digitalmars-d mailing list