From: dblack@... Date: 2002-09-06T02:24:29+09:00 Subject: Re: Ruby aesthetics Hello -- On Fri, 6 Sep 2002, Christian Szegedy wrote: > Paul Prescod wrote: > > > > Stroustrop says: "The protection of private data relies on > > restriction of the use of the class member names. It can therefore be > > circumvented by addressing manipulation and explicit type conversion. > > But this, of course, is cheating. C++ protects against accident rather > > than deliberate circumvention (fraud)." > > > What I really dislike in Ruby, that the data members are seen > by the child classes. This is a very serious issue, and a claer > violation of object-orientation. > > I think Ruby would be a much better language if the instance > variables would only live per class and not per hierarchy... I'm not sure what you mean -- do you mean class variables? David -- David Alan Black | Register for RubyConf 2002! home: dblack@candle.superlink.net | November 1-3 work: blackdav@shu.edu | Seattle, WA, USA Web: http://pirate.shu.edu/~blackdav | http://www.rubyconf.com