2008/10/19 Marc Heiler <shevegen / linuxmail.org>: >> I've spent too much time tracking down the bewildering bugs caused by >> naming conflicts. > > I once had a bug caused by my misuse of @@ when there was no need for > it. > > Since then I have become more sceptical - i like every feature I can > use, but when I can achieve something without using something, i.e. @@ > all the better for my poor little brain. 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. Kind regards robert -- remember.guy do |as, often| as.you_can - without end