APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

The Ruby Way (Second Edition)

© October 2006 Anthony Lawrence


I haven't done anything more with Ruby since my first look, but it is something I do want to investigate more deeply. I was therefore pleased to see this book arrive.

When playing with new languages, the question always is whether you want an introduction or a reference. Some books try to be both, but that rarely works (though the Perl Camel Book comes close). The author here states flat out that "The Ruby Way" is more of a reference, though it isn't really quite that either. He describes it as an "inverted reference" - in other words, more of a "cook book" style book.

However, Chapter 1 does begin with a long explanation of OOP programming in general and then flows into some introductory material. That's often my first (small) gripe about books like this: if you want to try to write something that would be like the "Camel" book for Ruby, then have at it. But if you know you aren't going to do that, then leave the introductory stuff to someone else and get right to what you want to do. In other words, if you can't fit it all in, don't try. Those who already know the basics will be bored; those who know nothing probably will be confused.

In this case, the author recognizes that and invites us to skip ahead if we find things too basic, or to seek other sources if we are confused. We are all different, and are at different levels of understanding. More importantly, perhaps, is that we all come with different baggage, different conceptions of how we expect things to work. Any language will have surprises for those more accustomed to something else, and Ruby is no exception. The author tries hard to anticipate our confusion and to help us avoid falling into the more common mistakes - for this alone, Chapter 1 is probably worth reading even if you think you could safely skip it.

After that, we move to cookbook mode, starting with a chapter on strings. Short sections present examples of manipulating, searching, changing and so on. I found the examples intelligently presented and sufficiently concise to be understandable without wasting my time.

Other chapters continue with date and time, numeric functions, working with data storage and so on. As the author says in the introduction, this isn't something most of us would read cover to cover, but it does seem to include everything we'd want to find if we did that.

I don't know how much I'll ever do with Ruby. It's certainly attractive and interesting, but I lack any compelling reason to get into it very deeply. If I ever do have reason, I'm sure this book will be well pawed.

graphic of book cover Order (or just read more about) The Ruby Way (Second Edition)  from Amazon.com

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> The Ruby Way (Second Edition)

1 comment

Inexpensive and informative Apple related e-books:

Photos for Mac: A Take Control Crash Course

Photos: A Take Control Crash Course

El Capitan: A Take Control Crash Course

Take Control of OS X Server

Take Control of Parallels Desktop 12

More Articles by © Anthony Lawrence

Related Articles

Sun Oct 15 23:38:39 2006: 2519   BigDumbDinosaur

I don't know how much I'll ever do with Ruby. It's certainly attractive and interesting, but I lack any compelling reason to get into it very deeply.

That's exactly the reason why there's a plethora of languages, etc., that I haven't looked at. There's only so much time to had and I prefer to use much of it working on or with things that can produce an income. The days when I would explore something about computers simply to learn about it are behind me. I'm too busy trying to keep my clients happy so they don't decide to export my work to India.


Printer Friendly Version

Related Articles

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

I always knew that one day Smalltalk would replace Java. I just didn't know it would be called Ruby. (Kent Beck)

Linux posts

Troubleshooting posts

This post tagged:






Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode