Yield to the Block (in Ruby)

   Print.Print
Email.Email weblog link
Blog this.Blog this

chromatic
Aug. 09, 2005 11:18 AM
Permalink

Atom feed for this author. RSS 1.0 feed for this author. RSS 2.0 feed for this author.

URL: http://www.rubyist.net/~matz/slides/oscon2005/...

In the words of Danny O'Brien, Ruby moved from being ignored to winning in about three weeks. How did it do that? In part, Matz made a powerful concept ubiquitous and simple. Plenty of languages have useful higher-order functions, but few allow you to pass them to just about every built-in function or method. By shaving off the rough corners of syntax and relentlessly pushing for consistency, Ruby makes blocks so easy to use you don't have to think of closures, coroutines, and other complicated things. They're just idioms. Matz' OSCON 2005 presentation explains.

chromatic manages Onyx Neon Press, an independent publisher.

Return to weblogs.oreilly.com.



Weblog authors are solely responsible for the content and accuracy of their weblogs, including opinions they express, and O'Reilly Media, Inc., disclaims any and all liabililty for that content, its accuracy, and opinions it may contain.

Creative Commons License This work is licensed under a Creative Commons License.