[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Class-level readers and writers

dblack

11/30/2003 5:34:00 PM

1 Answer

ts

11/30/2003 5:40:00 PM

0

>>>>> "D" == David A Black <dblack@wobblini.net> writes:

D> My least favorite of all of the proposed changes is definitely the
D> @var/@_var thing. It means that, for the first time, the concept of
D> an instance variable will not be completely unified. At the very
D> least, I don't think something should be called an "instance variable"
D> if it isn't private to the instance. (And then there's that
D> underscore.... :-)

Well, if @_var make reference to what was initially, wrongly, called
"private instance variable" then renamed in "class local variable" then
it's private to the instance


Guy Decoux