On Fri, 2002-09-13 at 16:04, GOTO Kentaro wrote:
> At Sat, 14 Sep 2002 06:22:55 +0900,
> William Djaja Tjokroaminata wrote:
> 
> > Wait, wait, wait... I think someone should really have defined what
> > private variables in Ruby really are.
> > 
> > Using C++ terminology, I think the private variables in Ruby are really
> > like C++ "private" variables.  In the current Ruby, instance variables are
> > always "protected", and they can only be made "public" by the accessor
> > functions.
> 
> Maybe the subject "private variable" is confusing.  In Ruby, the
> concept of "private" means "cannot be omitted its receiver".  But
> there doesn't exist receiver of a variable.  In this sense, variable
> is already "private". 
> 
> So, I'd like to propose new name
>   "nestable local variable" and "noninheritable instance variable" 
> to avoid confusion.

what do you mean by nested local variable? is that suppose to be the
same thing as noninheritable instance variable? or are you refering the
other kind of "private" variables ruby already has?

-- 
tom sawyer, aka transami
transami / transami.net