Block lambda is cool, its syntax isn't
Thaddee Tyl
thaddee.tyl at gmail.com
Thu Jan 12 13:26:14 PST 2012
I have heard many fellow programmers say that, while block lambdas
would be welcome, Ruby's |a, b| syntax is ugly.
I thought I was the only one feeling this way, but since I am not, I
would like to ask why the parentheses cannot be used there.
{ (a, b) a + b }
cannot conflict with any existing program; at least I don't see how it can.
This is a reaction to the following tweet:
https://twitter.com/#!/tabatkins/status/156813490785492992
More information about the es-discuss
mailing list