From: Robert Klemme Date: 2008-10-21T03:58:29+09:00 Subject: Re: instance counter 2008/10/20 Pit Capitain : > 2008/10/20 Robert Klemme : >> 2008/10/19 Marc Heiler : >>> I would even go as far as to >>> claim in 95% of the cases, there is no real need to use @@ at all. >> >> Absolutely agree! Class variables are one of the rare spots of Ruby >> where it does not shine at all IMHO. > > No, I think they are absolutely useful in the (rare) cases when you > need exactly what they offer compared to class instance variables. The > only thing that might be the source for problems is their name: too > many people associate something different with "class variables". Do you have an example which cannot be handled as easily by a class instance variable? I can't think of any ATM - which does not mean it does not exist. Kind regards robert -- remember.guy do |as, often| as.you_can - without end