R
Roedy Green
I have always wondered why static inner classes can have static
members but ordinary inner classes cannot. It seems a strange
anti-orthogonality.
Why? It would at first glance seem more work to treat them specially.
Is there some difficulty in implementation? Is there some reason why
stylistically the statics would be wicked?
members but ordinary inner classes cannot. It seems a strange
anti-orthogonality.
Why? It would at first glance seem more work to treat them specially.
Is there some difficulty in implementation? Is there some reason why
stylistically the statics would be wicked?