Hi,
In message "Re: Ruby aesthetics"
on 02/09/06, Christian Szegedy <szegedy / nospam.or.uni-bonn.de> writes:
|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...
It's in the ToDo list. Private instance variables will be something
like @_foo. But it's pretty hard to implement. If someone come up
with a good idea, I'm glad to hear.
matz.