Jamie van Dyke is proficient in Ruby (and Rails). He teaches, he codes and is working for boxedup.
Beginning Ruby by Peter Cooper
inscribed on 17 May 2007
Highly Recommended
It’s taken me a while to get through Peter’s book, but I’m certainly happy I put the time in. This has to be the best book for Ruby beginners, whether it be for scripting or for moving towards Rails.
Beginning Ruby is broken into three parts, Foundations and Scaffolding, The Core of Ruby and Ruby Online. Each leading on nicely from the previous section, and breaking up the different requirements of the learner as they go.
Peter starts off nice and slow (with a most excellent foreword from _why the lucky stiff), and eases you into Ruby by first explaining how you get it installed. He covers both Windows, Linux and Mac OS X.
Once you’re installed, the basics are carefully laid out in front of you, from pieces like variables and keywords, to object orientated programming basics. His writing style is easy on the eye and travels at a good pace without confusing the beginner. More advanced users can skip the first couple of chapters, or at least skim over quickly. That’s what I liked about this book, though. A mature beginner will naturally need to know about the basics of programming in Ruby (or any language) before their first application, and this is the order that Peter takes. There are certain readers who will relish Chapter 4 as the starter block, jumping straight into their first application…however they’ll soon go back to Chapter 2 and 3 to really get a feel of how Ruby works.
Oddly we are led through the history of Ruby in Chapter 5, this seemed like a strange choice in positioning that I personally would have skipped had I been learning Ruby. However the content is accurate and informative in such a way that if you skip it, you’re more likely to return once your journey through the book is complete.
Chapter 6, in the section “The Core of Ruby” is really where the in-depth knowledge starts to seep through. The examples are plentiful, concise, and easy to read. He digs thoroughly into the most juicy parts of Ruby like Symbols, Blocks, and Mixins. I found myself not wanting to put the book down, as if I was reading a chapter from the Tolkien masterpieces. Of course, your geek mileage may vary, but I can’t see you having many qualms with this chapter. I found a surprising amount of information that the more experienced developer may not have known which you wouldn’t expect from a book titled “Beginning Ruby”.
Chapter 11 particularly impressed me, in which he talks about the more advanced features in Ruby. Dynamic code execution, safety levels, threading, and RubyInline. These are all examples of what gems you’ll find in this chapter, and all explained in bite size chunks to let you get a general overview of what can be done, and where to go if you’d like to really dig into that particular piece.
Finally, Part 3, Ruby Online. This section features as more of a fleeting visit (and re-visit) of many more of the Ruby pieces that you could use in your application. It talks about Ruby on Rails, RubyGems, networking etc. It also gives a quick run-through of the Ruby language as a ‘primer’ for developers who might just want to have a concentrated burst of knowing what Ruby can do. It also provides references and resources that you will be prudent to bookmark in your favourites.
So, I wholeheartedly recommend this book to not only beginners, but amateurs and advanced users. There might be a few bits and pieces you were unsure of, or were completely unaware of. Easily a 9/10 in my eyes…nothing gets the 10 unless it has nudity….and that’s not an invitation Peter.

Recent Comments