Static attributes & immutability, static attributes seen from instances

bearophile bearophileHUGS at lycos.com
Sat Mar 6 18:38:05 PST 2010


Jonathan M Davis:
> Warnings? Why allow it at all? I'm not aware of anything that you really 
> gain by it. It's just confusing for no extra benefit. I have no idea why any 
> language has ever allowed it. Sure, a warning is better than nothing, but it 
> really should be disallowed entirely.

Walter has not commented about this topic yet.
If you want you can file a bug, trying to explain well all pros and cons of this idea (I moderately agree with it, I think it can make D a bit more tidy).

Bye,
bearophile



More information about the Digitalmars-d mailing list