The Ruby Programming Language and over one million other books are available for Amazon Kindle. Learn more
CDN$ 26.30
  • List Price: CDN$ 39.99
  • You Save: CDN$ 13.69 (34%)
Usually ships within 3 to 5 weeks.
Ships from and sold by Amazon.ca.
Gift-wrap available.
Quantity:1
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

The Ruby Programming Language Paperback – Feb 4 2008


See all 3 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
CDN$ 26.30
CDN$ 25.13 CDN$ 22.40

2014 Books Gift Guide
Yes Please, the eagerly anticipated first book from Amy Poehler, the Golden Globe winning star of Parks and Recreation, is featured in our 2014 Books Gift Guide. More gift ideas

Special Offers and Product Promotions

  • Join Amazon Student in Canada


Frequently Bought Together

The Ruby Programming Language + Ruby on Rails Tutorial: Learn Web Development with Rails (2nd Edition) + Agile Web Development with Rails 4
Price For All Three: CDN$ 85.34

Some of these items ship sooner than the others.


Customers Who Bought This Item Also Bought



Product Details

  • Paperback: 448 pages
  • Publisher: O'Reilly Media; 1 edition (Feb. 4 2008)
  • Language: English
  • ISBN-10: 0596516177
  • ISBN-13: 978-0596516178
  • Product Dimensions: 17.8 x 2.3 x 23.3 cm
  • Shipping Weight: 544 g
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: #42,680 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

About the Author

David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include JavaScript: The Definitive Guide, JavaScript Pocket Reference, Java in a Nutshell, Java Examples in a Nutshell, and Java Foundation Classes in a Nutshell. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.

Yukihiro Matsumoto ("Matz"), the creator of Ruby, is a professional programmer who worked for the Japanese open source company, netlab.jp. Matz is also known as one of the open source evangelists in Japan. He's released several open source products, including cmail, the emacs-based mail user agent, written entirely in emacs lisp. Ruby is his first piece of software that has become known outside of Japan.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

5.0 out of 5 stars
5 star
3
4 star
0
3 star
0
2 star
0
1 star
0
See all 3 customer reviews
Share your thoughts with other customers

Most helpful customer reviews

1 of 1 people found the following review helpful By Chris Thomson on March 22 2010
Format: Paperback
"The Ruby Programming Language" is a great read. In the past, I've read Rails-specific books, and understood the basics of Ruby. However, this book introduced me to a lot of new things that I didn't know were possible with Ruby.

I'd recommend giving this book a read even if you've written full Rails apps in the past. There's lots of useful information in this book.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback Verified Purchase
A very well written book. I would say this is the perfect book for someone with at least some programming experience who wants to learn the ruby language. Novices might probably want to start with an online tutorial.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback Verified Purchase
The book lives up to the hype. This is a phenomenal book that talks about ins and outs of Ruby programming language.

I worked with Ruby and Ruby on Rails for over a year and several years of other programming languages, but I never really delved into the Ruby language itself. I was just picking up different tricks here and there along the way. I was able to get stuff done, but I felt like I was missing the big picture. This book was perfect for my need in building my Ruby understanding ground-up.

Buyer Beware!!!

This is not a beginner's book on programming. This book might not even be the best book to begin programming in Ruby. This position is clarified by Matz and Flanagan early on in the book.

"It is easy to program in Ruby, but Ruby is not a simple language. Because this book documents Ruby comprehensively, it is not a simple book (though we hope that you find it easy to read and understand). It is intended for experienced programmers who want to master Ruby and are willing to read carefully and thoughtfully to achieve that goal."

The book assumes intermediate knowledge in programming and object oriented programming in general. In order to fully appreciate the book, it's best if you are already an experience programmer.

If you are a beginner looking to get started, do not buy this book.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 75 reviews
132 of 137 people found the following review helpful
This is the new authoritative Ruby book and the one to buy. Feb. 26 2008
By Peter Cooper - Published on Amazon.com
Format: Paperback
Originally planned as a second edition to Ruby classic, Ruby In A Nutshell, The Ruby Programming Language is a new book by David Flanagan and Yukihiro Matsumoto (a.k.a. Matz - creator of Ruby) and published by O'Reilly. The book covers both Ruby 1.8 and 1.9 and with its esteemed authors and technical approach, is sure to become a new "Bible" for Ruby developers.

As of the start of 2008 this book is REALLY fresh and up to date. Its style is very direct and matter-of-fact; well suited for existing Ruby developers and proficient developers coming from other languages. The examples are clear and logical and the explanations concise; this is a well edited and authoritative book.

The structure of the book is a delight with ten well-defined chapters (with titles such as Reflection and Metaprogramming, Statements and Control Structures, and Expressions and Operators) that each contain a tree of sections. Consider Chapter 4, Expressions and Operators. A sample dive down to section 4.5.5.2 takes us through 4.5, Assignments; 4.5.5, Parallel Assignment; and finally to 4.5.5.2, One lvalue, multiple rvalues. This is a breath of fresh air in a Ruby reference work.

The only downside, in terms of the thousands who might be browsing Amazon looking for a single Ruby book to start off with, is that this book is so well focused on documenting the core elements of the Ruby language, it doesn't work either as a tutorial / beginner's introduction to Ruby, or as an exhaustive reference work (as, on both fronts, the Pickaxe attempts to be.) This lack of dilution may be an ultimate strength, however, since anyone above the station of "beginner" will be able to learn Ruby thoroughly from this book, use it as a general reference, and then be able to use the exhaustive documentation that comes with Ruby itself to cover the standard library and built-in classes.

In conclusion, whether you're an existing developer or a newcomer to Ruby, you need just three things to be up and running with Ruby in the book / documentation department. Buy this, the Ruby Way (by Hal Fulton), and learn how to use the documentation that comes with Ruby.

This book will act as the "Bible" for Ruby, the Ruby Way will make you an expert, and learning how to use the documentation that comes with Ruby will mean you're not using information that's out of date within a couple of years. The perfect combo! It'll last you for years.
21 of 21 people found the following review helpful
Perfect For Experienced Ruby Developers March 7 2008
By Dan McKinnon - Published on Amazon.com
Format: Paperback
'The Ruby Programming Language' is one of 'those' O'Reilly books that become staples in the family of GREAT texts that have come before. At 400+ pages, the following content is discussed:

01. Intro
02. Structure of Ruby Programs
03. Datatypes & Objects
04. Expressions & Operators
05. Statements & Control Structures
06. Methods, Procs, Lambdas, Closures
07. Classes & Modules
08. Reflection & Metaprogramming
09. Ruby Platform
10. Ruby Environment

Logically laid out, wonderful writing, clear and concise examples with a length that is 'just right' (this is so hard to not find bloated books) this is perfect for those that know some Ruby and/or programming in general. If you are new to software development, this book probably is NOT for you as it's not a "learning" text. There are other Ruby books that cover said topic though so make sure to pick those up as well.

Awesome job O'Reilly for this relatively new and fast growing language that is used on the web and wherever you want!!

***** HIGHLY RECOMMENDED
21 of 21 people found the following review helpful
In my top 10 of all time... Oct. 26 2008
By Clinton Begin - Published on Amazon.com
Format: Paperback
This book is quite simply one of the finest software development books ever written. The style, the length, the scope, and the structure are all absolutely perfect. The balance creates a reading experience that seemingly opens a channel to your brain and feeds the information in.

Flanagan is a master author of technical books, especially languages. His JavaScript book is equally well done. Matsumoto's unique technical mastery here leaves no stone unturned. And even the artwork by "why the lucky stiff" added a fun element that just rounded out the book as the best in its class.

If I could forget the whole thing, just so I could read it again, I would. It is that good.
23 of 24 people found the following review helpful
Not sure if this is the best book to start! Oct. 4 2009
By Fabio Utzig - Published on Amazon.com
Format: Paperback Verified Purchase
I bought this book after reading the other reviews here. All the people I know personally who work with Ruby learned from the Pickaxe but from the reviews I came to the conclusion that this could be actually a better book for learning the language. So, I didn't read the Pickaxe and cannot really make a comparison but from what I heard and comparing with this one I would get the Pickaxe if I should choose again.

After finishing reading this book I can say that there are a lot of topics that I really don't remember anymore and lots of doubts that I still have. The major flaw here is that there are no exercises anywhere in the book. All the best programming books I read in the past have very good exercises to evaluate what you've learned (I could give as examples Learning Perl, C++ Programming Language, Core Java, etc). I think that without exercising what you learned it's really hard to judge how much you have really learned.

Another thing which is not described in the book is how to organize a big project. I'm used to working in large projects in C and C++ and I really have no idea of how to organize a large project in Ruby, how to organize classes in files, etc. I will start studying Rails now, and will get the Rails code and read it to make sense of how to organize a large project but be aware that this is not described here.

Also some sections of the book, are really "dry", like the one who talks about functional programming which is really hard to follow (this one is the first that came to my mind but there are a lot of sections which are hard to follow or don't make a lot of sense when reading first time). These sections are clearly targeted at advanced Ruby programmers.

I'll rate this book with 4 stars because despite the flaws I mentioned, the explanation of the language in general is really good.
13 of 13 people found the following review helpful
Now Outdated Jan. 10 2014
By Matthew C. Gilliam - Published on Amazon.com
Format: Kindle Edition
Ruby is now in 2.1, this book covers 1.8.7 and 1.9.3 I believe. Almost no one uses 1.8 anymore, and 1.9 only has a year of support left. I would recommend Eloquent Ruby (Addison-Wesley Professional Ruby Series), which is a little more up to date, and quite well written.


Feedback