From: "Mark J. Reed" Date: 2003-10-02T23:26:41+09:00 Subject: Re: Instance- and class-variables (was Re: mixing in class methods) On Thu, Oct 02, 2003 at 11:09:32PM +0900, ts wrote: > No, no : there are only 2 categories. Yes, I know: @ and @@. @ variables are instance variables of an object, and classes are really just objects. But the is-a relationship is special, and that specialness is echoed in the treatment of @@ variables. Logically, I still think it would make sense for @@vars to be equivalent to @vars of the class. The real problem is that it would violate encapsulation within the middle-layer implementation - instances need to be shielded from the innards of their class objects. -Mark