HOME English | 日本語

A Metaprogramming Spell Book


Paolo "Nusco" Perrotta


When I started to learn Ruby, I was awed by the code of experienced rubyists. That code was full of amazing magic tricks that I could barely understand. People called those tricks "metaprogramming".

With time, I found that metaprogramming sits right at the core of Ruby. To think in Ruby, I had to understand all those scary tricks! Feeling like a sorcerer's apprentice, I set out to write a Spell Book of metaprogramming techniques. Once I'd finished the Spell Book, metaprogramming didn't seem like black magic anymore. Instead, it just felt like any other set of techniques.

In this talk, I'll show you the content of my Spell Book, so that you don't have to go through the trouble of writing one yourself.


    2010-08-28 15:30 - 16:30


    Convention Hall 200

    Speaker Profile

    Spoken Language


    Presentation Material

    (Sorry, currently not available)


    Nico Nico Douga