From: Brian Candler Date: 2003-02-06T16:52:12+09:00 Subject: Re: Local variables & blocks On Thu, Feb 06, 2003 at 09:23:21AM +0900, dblack@candle.superlink.net wrote: > This is the part I've never understood. Even if you write a method > with no blocks, you still have to know whether or not you've used a > variable name. Not necessarily, in the case of throw-away temporary variables: i = 0 .. some code which uses i .. big gap i = 0 .. different code, different i You don't care that the two 'i's are bound to the same storage location unless the value needs to be used after the second chunk of code, and if it has to persist across that big gap, you should choose a better name than 'i' :-) Regards, Brian.