Florian Gross wrote: > Lionel Thiry wrote: >> I don't understand (and I'm quite surprised), what is the difference >> in terms of OO design between class variables, the @@a in the example >> above, and class instance variables, the @a in the example? > > > Currently class variables are also shared between different classes that > are part of the same inheritance tree. I ignored that. *doing some testing* My! You're right. > IMHO this is a rarely needed > feature and you're better off using regular instance variables on the > class (and referring to them via self.class.var from an instance). I totally agree. Thanks a lot, Lionel Thiry