Re: Subclassing Struct.new
by gwtmp01 other posts by this author
Feb 28 2006 7:11AM messages near this date
Re: Subclassing Struct.new
|
Re: Subclassing Struct.new
On Feb 28, 2006, at 9:55 AM, chiaro scuro wrote:
> I guess that in principle when you see an '=', you could lookup a
> 'name=' method before deciding that it is a local var assignment
> rather than a method call.
>
> I also understand that there will be perfromance issues with that.
The problem, of course, is that methods can come and go so you would
have to check every time the assignment was executed and I don't
think you would want the assignment to be to a local variable at one
point and then to be a method call at another.
It has to be determined statically. So any 'solution' to the problem
would probably be to introduce some clear syntactical hint with
respect to local variables...
Gary Wright
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
|