Željko Filipin's Blog on Software and Testing

Test like you do not need the money.

Archive for the ‘Books’ Category

Everyday Scripting with Ruby Arrived

without comments

pa300022.JPG

Long long time ago, I was reviewer of Brian Marick’s Everyday Scripting with Ruby. On February 2, 2007 Pragmatic Programmers said they would send me a free copy, but it did not arrive for a long time. I exchanged a few e-mails with them, and today the book arrived. I did not even have time to unwrap it yet. :)

Written by Željko Filipin

October 30th, 2007 at 11:27 am

Posted in Books,Ruby

About Everyday Scripting with Ruby

with one comment

bmsft_small.jpg

I remember that I have heard at school something like this.

If you read a book and not write anything about it, it is like you have not read the book.

If you learn it at school, it must be true. Right?

I have just read Everyday Scripting with Ruby by Brian Marick. It is a good hands-on book written for people that have none or little scripting experience, but there is also useful information for people familiar with both scripting and Ruby. I am using Ruby for more than two years and I do not think that reading it was wasted time.

It starts with instructions how to install Ruby, followed with simple scripts that get more complicated. Methods, logical operators, objects, classes, modules, inheritance, regular expressions, blocks, test driven development, exceptions and other important concepts are introduced as task at hand requires.

Some chapters have exercises with solutions at the end of the book. I just love that way of learning. The new tool is introduced (whatever it is), then you are given a problem that you are supposed to solve with that tool. (It is how mathematics and physics, and of course programming, are learned.) The problem (for writer) is to find set of problems that are interesting and meaningful enough, simple at first, then more complicated, but not too complicated (so reader can solve them and have that great feeling of success), but also challenging enough. I find that Marick has done a excellent job, but quality of exercises degrades in the last few chapters (to complicated).

There are also several Ruby Facts chapters that introduce important things like arrays, regular expressions, hashes, argument lists and modules. Ruby Facts chapters are just great, and with exercises my favourite part of the book.

I was reading the book as I had time for about two weeks and of course that now I do not remember everything I wanted to write about it. I have a really bad memory. I wish I had written a sentence or two after I have finished reading for that day. Now I am smarter. I hope I will remember this when I start reading the next book.

In short, the first three parts (The Basics, Growing a Script, Working in a World Full of People) were great but the fourth part (The Accomplished Scripter) was not so interesting to me. Also, examples were great, but at the end got to complicated for my taste (I think I got lost while doing exercises for chapter 11 or 12).

Written by Željko Filipin

April 30th, 2007 at 4:16 pm

Posted in Books,Ruby

Everyday Scripting with Ruby For Teams, Testers, and You by Brian Marick

with one comment

es.png

I was reviewer for Everyday Scripting with Ruby For Teams, Testers, and You by Brian Marick. Over two months ago I received an e-mail from Pragmatic Programmers saying that if I send them my mailing address they would send me a free copy. I replied with my mailing address, but the book did not arrive.

Two weeks ago I sent them a reminder. No reply.

There is a thread at wtr-general about the book and I asked if anybody had a similar experience. I thought that maybe there is a problem because I am from Europe. I got one reply. George from UK received his book two months ago.

Today I got e-mail from Pragmatic Programmers. They are looking into the problem, and they have sent me a PDF copy in the meantime.

There is even text “Prepared exclusively for Zeljko Filipin” at the bottom of each page. I am sure that it is there not only to make feel exclusive, but they got me smiling whenever I notice it. :)

Chapters that I reviewed were great and I look forward to reading the book.

Written by Željko Filipin

April 12th, 2007 at 4:30 pm

Posted in Books,Ruby