>>>>> "D" == Dave Thomas <Dave / PragmaticProgrammer.com> writes:

D> Doesn't that break existing code, though?

 Yes, you're right. Forget it

D> I'm wondering: was the idea of having a different block type for scope 
D> protection just too stupid? I've seen no comments about
D> ruby-talk:12393.

 Because I'm trying to see which modifications this made to ruby :-)))


pigeon% cat b.rb
#!./ruby
n = 123
3.times {{
      puts n
      3.times {{
            puts n
            n += 100
         }}
      n += 2
}}
puts n
pigeon% 

pigeon% b.rb
123
123
223
323
125
125
225
325
127
127
227
327
123
pigeon% 

 I must say that I don't like the syntax


Guy Decoux