infundibulum

Learning Ruby through Testing

May 31st, 2005

This is a great idea:

Perhaps you’ve been meaning to learn Ruby for fun or profit, but you just don’t know where to start. I’d like to help by trying a bit of an experiment. No, I’m not going to send you a copy of my Ruby learning tests. The learning comes through doing.

Rather, I’ll start by showing you how I wrote my first Ruby learning test. Then, over the coming weeks and months, I’ll spoonfeed you more tests as a starting point for exploring new facets of Ruby. (Submissions are appreciated, too.) Of course, if I get the sense that nobody’s listening, I’ll stop.

Well, I for one am listening, Mike. Naturally, the first test I wrote myself had to do with Unicode… more on that later.

Leave a Reply