Re: Subclassing Struct.new
by Mark Wilden other posts by this author
Feb 28 2006 6:10PM messages near this date
Re: Subclassing Struct.new
|
Re: Subclassing Struct.new
"chiaro scuro" <kiaroskuro@[...].com> wrote in message
news:dd533d4b0602280544x5addda10xf002768a82dec83@[...]..
> However, I guess that doing allowing 'selfless' attributes would cause
> some worst inconsistency somewhere else. i just wonder what it could
> be.
One explanation I've heard for this behavior is that if 'self' was implied
in this case, but you actually -did- want to use a local variable with the
same name, that some kind of prefix would be required (which would be
weirder than the current behavior).
Thread:
Minkoo Seo
Chiaro Scuro
Minkoo Seo
Yukihiro Matsumoto
Mark Wilden
Markus Werner
Chiaro Scuro
Minkoo Seo
Minkoo Seo
Hal Fulton
mental
Ross Bamford
mental
Ross Bamford
Chiaro Scuro
Ross Bamford
Chiaro Scuro
Minkoo Seo
Chiaro Scuro
mental
Chiaro Scuro
mental
Yukihiro Matsumoto
Caleb Clausen
Yukihiro Matsumoto
Caleb Clausen
MenTaLguY
Yukihiro Matsumoto
gwtmp01
Chiaro Scuro
mental
Chiaro Scuro
mental
Logan Capaldo
Pit Capitain
|