From: Jim Weirich Date: 2005-05-26T23:43:39+09:00 Subject: Re: Zerofy Charles Steinman said: > Keep in mind that methods do not operate on the variables you use to > call them. Variables are just references to objects, any several can > refer to the same object. I like to say it like this: Languages like Java and C++ encourage you to think of variables as boxes into which you put values. In Ruby, variables are postit notes (with names) that you stick on objects. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)