From: mental@... Date: 2005-11-05T06:49:35+09:00 Subject: Re: Some comments on new 1.9 features Quoting Domenico De Felice : > > Using too many special characters clutter the code and worsen > > readability. > > Yes, something like > > { |a, b| > local a > share b > a = 1 > b = 2 > } > > would look less weird. However it has the problem that in bigger > blocks the programmer would need to read back the top of the block > when he 'forgets' which attributes are local and which shared. I don't know ... honestly, why can't we just make the block parameters always block-local? Having to make closure explicit with share doesn't strike me as very helpful. There's also a certain "oh, by the way, that variable mentioned earlier is actually closed over from the enclosing scope" factor. Not great for comprehensibility. -mental