On Sun, 28 Jan 2001, Dave Thomas wrote:
> There's another style I;ve seen her which I'm still thinking
> about. Some folks put the block parameters on their own line:
>    a.doit {
>      | name, address |
>      # ...
>    }
> It certainly looks nice, but I can't quite convince myself there's a
> reason to do it ;-)

Here's a reason not to do it. the | name, address | construct is not an
expression. The above code puts it in the spot normally reserved to
expressions, but it is really part of the open-brace. so it should be
like:

a.doit {|name,address|
	#...
}

The lack of spaces emphasises that those elements are all part of the same
chunk as the open brace. Adding spaces doesn't really make it any clearer,
just spacier. If we could have arbitrary subexpressions in there, it would
be a different situation and the opposition space-nonspace could parallel
the opposition outer-inner.

But then, some people don't use spaces and indentation to carry hints as
much as they use it to space out things.

matju