Strange Loop

2009 - 2023

/

St. Louis, MO

You Already Use Closure (in Ruby)

Closure, especially used through lambda, can be a powerful tool, which lies behind a lot of magic in Ruby (as well as other languages) Unfortunately, these tools are often misunderstood by those who didn’t cut their teeth on Lisp or Haskell. This talk will show you where closure is used in innocent looking every-day ruby constructs you already use, where it appears in popular Ruby libraries and frameworks, and how to take better advantage of closure in your own code. It will also be evident that Ruby makes some compromises in order to maintain it's many other features.

Justin Love

Justin Love