Lutger wrote: > Nick Sabalausky wrote: > > ... >> I've always felt that the ability to access static members through an >> instance was just a bad idea in general, and this seems to add another >> reason not to allow it. > > I agree, some compilers issue warnings in this case.
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. - Jonathan M Davis