From: Sebastian Hungerecker Date: 2008-10-17T21:58:32+09:00 Subject: Re: instance counter Tommy Nordgren wrote: > > I avoid @@.  Why should metaclasses have a different syntax?  @@ also > > has different scoping rules which I find vexing.  Be consistent, I   > > say. > >         An instance counter have to be assosiated with the class itself, > and   not > an instance. How else can it count the total number of allocated   > instances? > You plainly did not read the original posters message. It seems to me that he did read the OP, but you did not fully read his message. His code defines an instance variable on the class, so it *is* associated with the class and not with any particular instance of that class. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826