From: Gavin Kistner Date: 2005-08-05T21:37:08+09:00 Subject: Re: new block notation (was: Re: ruby-dev summary 26468-26661) On Aug 4, 2005, at 6:49 PM, Florian Gro� wrote: > 10.upto(20, { |i| puts i }) > > is harder to type and read than > > 10.upto(20) { |i| puts i } > > One can now argue that it does not matter for cases where there > only is a block: > > 1.times { } is the same as 1.times({ }) anyway. FWIW, this is what Lua allows - a special syntax for the special case where the sole argument to the function is a table (aka Hash) allows you to drop the surrounding parens. (Not a suggestion that this is sufficient for blocks, just a random peek into another interpreted language's syntax.)