From: Glenn Parker Date: 2005-04-08T21:54:28+09:00 Subject: Re: Seven new VMs, all in a row Avi Bryant wrote: > >>- instance variables that don't need to be predeclared with the class > > Not exactly as Ruby does, but you can simply add new instance variables > to the class definition whenever you compile a method that uses a new > one. Isn't that jumping the gun just a bit? An instance variable (in Ruby) should not exist in an object until the line that assigns/creates it is actually executed. It's a subtle point, but it could impact some types of reflective programming. Maybe you can mask its existence somehow? -- Glenn Parker | glenn.parker-AT-comcast.net |