Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Excellent to have this finally resolved. I'm sad to not see something a little closer to the ruby block syntax like in some of the early proposals, though. Special syntax for lambdas as the last argument to a function lets you write very readable code for a host of useful cases.


Nota Bene: A Ruby Block is not the same thing as a Ruby Lambda, although conversion between them is easy. Yielding to a block has somewhat different semantics than calling a lambda, especially with respect to non-local return.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: