From: Gavin Kistner Date: 2005-09-29T00:52:53+09:00 Subject: Re: creating independent lambdas in loops --Apple-Mail-1--708285906 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Sep 28, 2005, at 9:29 AM, Eric Mahurin wrote: > --- Gavin Kistner wrote: >> On Sep 28, 2005, at 7:47 AM, Eric Mahurin wrote: >>>> Completely true. If a variable of that name is already >>>> defined it is used (and no local variables are created). >>> Does anyone else find this "feature" useful? >> All the time! I would say that at least half the programs I >> write use this feature of the blocks-as-closures. > > I'm talking about specifically block arguments (the only > variables in a block that can be local to the block). Ah, right. Sorry, I was responding only to the bit I quoted, not properly following the thread of the conversation. No, I don't think I have ever personally used that and wanted it, and it has bitten me before (at least twice). It's like this sort of mistake in JS: for (var i=0, len=myArray.length; i