Other articles


  1. My Favorite 'Rubyisms'

    I've been using Ruby at work to write watir tests, and I am constantly amazed at how elegant it is. Here are some of my favorite techniques:

    Pass a default value block to Hash.new to implement a memoized recursive function:

    fibonacci = Hash.new do |h,k|
        h[k ...
    read more

social