On Tue, Sep 18, 2007 at 02:00:01PM +0000, Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum wrote:
Anyway, the consensus seems to be "Why?"
is that really the case?
i thought the consensus from the last conference was more like that it is waiting for someone to be implemented.
the 'why' in this discussion seems to be more about the particular implementation.
static variables on the class level are useful, because the class level is the top scope. you can't go higher than that, (except if you are nesting classes, which i personally am not very fond of) also classes should be self contained, so having a variable living outside a class that is needed inside is not very nice.
should we do a show of hands?
greetings, martin.