michielbuddingh + lambda   1

The Building Blocks of Ruby « Katz Got Your Tongue?
An overview of Ruby's block level syntax. The author argues that Ruby's blocks allow for elegant abstraction of exception handling. Cross-checking his assertions with someone more familiar with Python revealed that Python does support this kind of abstraction--at the function level, using decorators, which is hardly less effective. Note that the author uses the term “lambda's” to refer to these blocks--which I suppose is correct, although the association is not one I would've made.
ruby  python  programming  exceptions  yield  lambda 
february 2010 by michielbuddingh

Copy this bookmark:



description:


tags: