From: Rick DeNatale Date: 2008-03-31T00:04:47+09:00 Subject: Re: instance variable access On Sun, Mar 30, 2008 at 10:09 AM, Robert Dober wrote: > On Sun, Mar 30, 2008 at 1:05 PM, Trans wrote: > Basically I like the idea. I don't. This sort of thing encourages thinking about objects as data structures rather than objects and discourages good OO implementation practices such as "Tell don't ask". Just because instance_variable_get and instance_variable_set are there, kind of like a fire extinguisher behind a glass door, doesn't mean that their use should be encouraged, or that magic hammers to break the glass without thinking about the consequences are a good idea. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/