inheriting statics

Neil Mix nmix at
Mon Jan 8 09:26:37 PST 2007

> The case for inheriting statics:
> 1. static members are inherited in Java and C# (I think)
> 2. It won't break existing code because that code either would be in
> error or else would have  overridden the member.
> 3. easier refactoring, if you move the member within an inheritance  
> chain.

IIRC static data members in Java are inherited but cannot be  
overridden, which may provide a bit of a catch-22 for #1 and #2?

More information about the Es4-discuss mailing list