Atlas · Details
A Quick Tour of Ruby
AI Notes
Steve had spent 2005 quietly looking for a Perl replacement, having
written off Ruby fans as "ferret owners" who couldn't stop talking about
their beady-eyed albino stretch-limo rats. Then his Perl honeymoon ended,
the alternatives looked worse, and he opened Matz's Ruby in a
Nutshell and made it all the way through pounding the table at
things finally done right. The tour that follows is the part that
converted readers: a walk through irb (an interactive session that will
tell you the 118 methods of an empty array), the dictionary-words example
(print all Q-words from /usr/share/dict/words, grouped by
length, sorted alphabetically — five lines of Ruby versus a page and a
half of Java), the case for collection operations that return collections,
the defense of open classes, and a long detour through why functional-style
code emerges naturally in Ruby without any of the surrounding religion.
Steve's clearest 2005-vintage statement of what comfortable feels like in a programming language. Pairs with A Little Anti-Anti-Hype (the marketing frame) and Lisp Wins (I think) (the theoretical one); Ruby Tour is the practitioner's chapter of all three.
Related listings
-
2005
A Little Anti-Anti-Hype
Same year — the marketing argument that frames Ruby Tour. Steve in this piece is the enthusiastic Ruby evangelist whose existence Bruce Eckel was complaining about.
-
2005
Lisp Wins (I think)
Same year — the more theoretical companion. Ruby Tour shows what comfortable looks like in practice; Lisp Wins explains why comfort is structurally limited in languages without real metaprogramming.
-
2004
Tour de Babel
A year earlier — the broader language survey. Ruby Tour is the long-form chapter that Tour de Babel kept hinting at and finally got.