Re:Ruby-style Blocks in Python
by anewaccountname on Sunday March 08, 2009 @09:56PM
(#507806)
Python already has a solution for callbacks:
[ Parent
| on HN ]
Whilst this is more pythonic I personally prefer Javascripts use of lambdas as more than a means of expression. More like a way of life for the language :-) And that is IMHO what makes it functionally closer to Scheme. Just looking at the way one defines lambdas in Javascript and their use throughout the language is a thing of beauty.