From: Conrad Schneiker Date: 2001-03-13T16:14:45+09:00 Subject: [ruby-talk:12556] Re: FEATURE REQUEST: 'my' local variables Matz wrote: # I have two ideas, still not knowing which is better to solve this # problem. [...] # The one is allowing explicit declaration of block local variables. # is one choice of notations. The other notation candidates # may be special block form({{}}), and special declarative assignment. # Special declarative assignment is something like: # # { # e = 1 # e may or may not be local to the block # f := 2 # f is always local to this block # } I like this, but I would like to see the roles of '=' and ':=' reversed, since I would like everything local by default, and I would prefer to use '=' for the most common case. Unfortunately that wouldn't automatically be backwards compatible. Conrad Schneiker (This note is unofficial and subject to improvement without notice.)