Title: Everyday Scripting with Ruby Subtitle: For Teams, Testers, and You Author: Brian Marick Pages: 320 ISBN: 0-9776166-1-4 Publication Month: January 2007 Publisher: Pragmatic
Smiley Rating: :) :) :) of 5
This book is a concise introductory tutorial for Ruby with an emphasis on testing.
Ruby is an object oriented, dynamic language that is available for most operating systems. It's fairly easy to learn it.
I suggest visiting your favorite local technical bookstore and taking a look at this book if:
If you want more detail from me, see my somewhat longer review.
-- George Woolley of Camelot.pm and Oakland.pm
When I checked (2007-03-23), this book was not on Safari Tech Books Online. :( Actually, I didn't see Pragmatic listed as a publisher with books on Safari.
You might wish to check out the Pragmatic catalog entry for the book. Among other thing, you'll find links to
You'll also be able to download the examples; I did.
Pragmatic has also published a number of other Ruby and Ruby related books. You'll find information about those books on their site.
The one I'm most interested in is Programming Ruby, 2nd Edition. The first edition is available online.
If I didn't quickly find what I was looking for in the book, I often found it with a search. A few example searches follow:
Some sites I found particularly useful are:
I also found this page useful:
"Everyday" here modifies Scripting. I understand it to indicate that the Scripting is the kind you are likely to do day to day.
Scripting I take to be synonymous with programming but with the connotation that it's not too difficult.
Ruby is a programming language which:
If you don't know what some of the above means, no problem. You can just focus on the last item in the list:
Yep. This book is for sure about programming in Ruby. And programming in Ruby should be way easier for you than programming in many other languages. This book does appear to be aimed at preparing you for the kind of Ruby scripts you're actually likely to create.
I've made significant use of more than 20 computer programming languages.
My favorite computer language has been Perl ever since I was exposed to it in 1994. But I find Perl 5's OO awkward at best.
I find Perl 6 intriguing. It looks like it will have many features I'd like, be simple to get started with, and still have the Perl feel. Unfortunately, I'm beginning to suspect it will never be completed.
That's why I'm interested in Ruby. That and because I favor dynamic open source languages.
I didn't read the book as it was intended to be read. My aim was to learn Ruby well enough to use it a little and well enough to decide if I wanted to put a significant effort into learning more Ruby. I focused mostly on the early chapters and the Ruby Facts chapters.
My expectation was that
Also, my expectation was that these things would not be very hard to do.
The book is 320 pages long and that's including both front matter (e.g. title page and table of contents) and back matter (e.g. appendixes and the index). It also includes
There are 24 chapters. The longest chapter is 27 pages long; the shortest chapter is just two pages long; the average chapter length is less than 10 pages.
Some (8) of the chapter's have names that begin "Ruby Facts:". All but one of these chapter is 4 to 6 pages long.
Many of these chapters contain tables of very brief examples with similarly brief explanations of them.
I especially like the very short examples and accompanying brief explanations in the Ruby Facts chapters. I found them invaluable in learning Ruby basics. :)
I like that I was able to learn enough Ruby to write some simple Ruby scripts. :)
I was able to learn enough to decide that Ruby interests me. :) :)
I like that the book is short. :)
I like that the author encourages the reader to write tests first. This approach, which I was exposed to before reading this book, has certainly made my program development easier. :)
I didn't think the author was always clear. :(
For example, I was unclear about the significance of an "at sign" in Ruby. I thought I'd discover the significance by either
Neither led to the knowledge I sought.
Fortunately, doing some web searches uncovered a specific statement about the significance of the at sign. :)
The author didn't convince me to use the book as he suggested. :(
I'm a bit of a contrarian, so maybe that's it. On the other hand, I almost always follow the author's lead.
While reading the book, at no time did I laugh (or even chuckle). :(
However, it's not like the author is completely dry. Actually the text is generally quite readable. :)
The book would be good for a relatively experienced programmer who:
The book might also be good for someone with little or no experience programming. Because of the way I used the book and because I'm an experienced programmer, I'll not give an opinion.
The book would likely be good for a tester who wanted to learn Ruby. Hey, the book was originally written for testers.
The book would not be good for someone who
If you want to learn a fairly easy to learn programming language, you may wish to visit your technical book store of choice and take a look at this book.
Complete and on the Web: 2007-04-05d
Draft Status removed: 2007-04-07