Unblocked 4.76 http://spkr8.com/t/5074

Description:

We've always known that blocks are a big part of what makes Ruby great to work with. I also imagine that most Rubyists are pretty comfortable using them in standard contexts, such as passing them to iterators. But how far can blocks really go? Let's find out. In this talk we will dig into several examples of Ruby block usage that are a bit less standard. We will look at the power of methods that return lambda's, passing blocks to Class.new(), using a full method to impersonate a block, and more. The goal is follow the rabbit hole all the way down to see what insights we can gain for the programming we do back in the real world.

Comments on this Talk

Avatar-missing-icon-04 Gavin Stark, 14 Nov 05:12 PM

This was my favorite talk of this year's RubyConf. It was a great balance of style, humor, fun and knowledge. While many of James' examples were "evil" they certainly make you think about blocks in ways you had perhaps not thought of before.

Avatar-missing-icon-02 Kris Kemper, 14 Nov 10:14 PM

I thought this was one of the best talks at RubyConf. It had an excellent balance of content and entertainment. It was polished and cleanly presented. The code examples were clever, interesting, and easy to follow. The only thing I think I would have changed was the XML parser portion. It was a little too much code at once, and lacked the clarity of the previous examples.

Stream.5904 jwhitmire, 15 Nov 02:52 PM

My favorite talk of rubyconf by far. It's awesome to hear someone who has such a command of their content who can also deliver it effectively. I've been writing ruby for a while now, and even for a concept as fundamental as blocks I learned a lot.

Stream.5572 Matt Todd, 16 Nov 06:19 AM

Great talk with awesome delivery! Funny as hell, definitely eye opening for both newbies and for seasoned language-abusers alike!

Have an account? Sign in or register.

Leave a Comment

16 Ratings: 4.76

Delivery: 4.92

Content: 4.59

Last Five Ratings

  • Stream.13369 Mike Moore 3.75
  • Stream.11067 Marty Haught 4.0
  • Stream.9525 jeffbski
  • Avatar-missing-icon-08 Gregory Brown
  • Stream.5572 Matt Todd