From: Mike Gold Date: 2008-09-30T17:24:03+09:00 Subject: Re: ruby1.9 block scope Yukihiro Matsumoto wrote: > Hi, > > In message "Re: ruby1.9 block scope" > on Tue, 30 Sep 2008 16:49:19 +0900, Mike Gold > writes: > > |Making the scope of x contingent upon what comes later would result, I > |believe, in extreme confusion. > > |One might argue that when 'x = 45' appears before bar and baz, this > |_already_ changes the meaning of bar and baz. But the situation here is > |entirely different, in my mind. Don't most of us read code from top to > |bottom? > > Understandable. That's the very reason the current Ruby does not work > like this. > > matz. The current ruby doesn't, but a future one might? The reason I posted was because the phrase "I haven't introduced it yet" might imply that it could happen. -- Posted via http://www.ruby-forum.com/.