From: Mathieu Bouchard Date: 2001-08-12T04:59:02+09:00 Subject: [ruby-talk:19544] Re: the way class variables work On Sat, 11 Aug 2001, David Alan Black wrote: > > But I'm still baffled, maybe more than ever, by the "why", that is, > why class variables exist at all in Ruby. No one seems to have > anything good to say about them. They seem to operate as a kind of > not-quite-global global. They introduce weird, backwards > dependencies. They come to your house at night, ring the doorbell, > and run away. They.... [Cut to shot of David cowering in corner] > It's way easier to explain why "class variables" exist than to explain why in SmallTalk (a language designed so that kids can use it), class creation method is called Class>>subclass:instanceVariableNames:classVariableNames:poolDictionaries:category:. Consider yourself lucky. matju