The Ruby Programming Language and over 2 million other books are available for Amazon Kindle . Learn more

Buy New

Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: £13.14

Trade in Yours
For a £3.39 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading The Ruby Programming Language on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The Ruby Programming Language [Paperback]

David Flanagan , Yukihiro Matsumoto
3.9 out of 5 stars  See all reviews (9 customer reviews)
RRP: £25.99
Price: £20.79 & FREE Delivery in the UK. Details
You Save: £5.20 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 12 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 31 Oct.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £12.05  
Paperback £20.79  
Trade In this Item for up to £3.39
Trade in The Ruby Programming Language for an Amazon Gift Card of up to £3.39, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

4 Feb 2008 0596516177 978-0596516178 1

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:

  • David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository.

  • Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.

  • why the lucky stiff, artist and Ruby programmer extraordinaire.
This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules.

The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities.

The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.

Frequently Bought Together

The Ruby Programming Language + Learning Rails 3
Price For Both: £39.65

Buy the selected items together
  • Learning Rails 3 £18.86

Product details

  • Paperback: 448 pages
  • Publisher: O'Reilly Media; 1 edition (4 Feb 2008)
  • Language: English
  • ISBN-10: 0596516177
  • ISBN-13: 978-0596516178
  • Product Dimensions: 2.5 x 17 x 22.9 cm
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Bestsellers Rank: 129,925 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

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

Yukihiro Matsumoto ("Matz"), the creator of Ruby, is a professional programmer who worked for the Japanese open source company, 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:

Customer Reviews

Most Helpful Customer Reviews
32 of 32 people found the following review helpful
By Peter Cooper VINE VOICE
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 takes us through 4.5, Assignments; 4.5.5, Parallel Assignment; and finally to, 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.
Read more ›
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
4.0 out of 5 stars A wonderfully dense book 9 July 2009
I chose this book as my first ruby book and my introduction to the Ruby language. And for me that worked out really well. I would not recommend this book as an "introduction to programming" kind of book but as an introduction to ruby for people who have been programming for a time and used several other languages, it's great and it's kind of a language reference but better written than most language references I've come across earlier. It's blend of a language reference and how-to-write-ruby and a really great blend at that.

It's seldom to come by a book where there is so much information packed into so few pages (relatively), and it should maybe be read more slowly than other programming books. Especially the last few chapters are incredibly dense. And as far as I can tell, it covers just about anything there is to know about ruby and there is code examples in abundance. The diff between ruby 1.8 and ruby 1.9 is pulled of quite nicely as well although the book would be even clearer if it had just covered one version. All in all a great book.
Comment | 
Was this review helpful to you?
6 of 7 people found the following review helpful
5.0 out of 5 stars Essential for any Ruby programmer 13 Oct 2010
Format:Paperback|Verified Purchase
Ruby is a fascinating language. One minute it is as light and simple as a bicycle; the next, it morphs into the Starship Enterprise. It also lets you do all sorts of things that not so long ago would get you arrested - introduce variables undeclared, assign any type to any other type, gayly declare methods with apparently no class, re-open classes etc. It's all part of Ruby's rich tapestry.

However whilst all this might look simple, somewhere there has to be complexity. Every page reveals the detailed rules and a lot of them are not intuitive. You get to see how it all fits together - a creation, rather than a machine. You also get the designer's view on what is good, and what should best be left alone.

So it's a pleasure to read and re-read but also invaluable for interpreting things in code you come across.

It's essential for people new to Ruby (what are the scope rules for code brought in via require or mixins?). It's equally essential for seasoned programmers (what are the features that are commonly used by other experts versus those that are rarely needed?)

You would have to be pretty clever to start writing Ruby applications just reading this book, but that's not what it's for. It's for answering all those little fundemental questions you're not quite sure about.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Excellent Condition 10 Jan 2013
By raj
Format:Paperback|Verified Purchase
The delivery was swift. The book covers about ruby that an intermediate level needs. I would recommend all of you to buy it if you are looking forward to learn ruby. Although, you need some programming skills.
Comment | 
Was this review helpful to you?
1 of 2 people found the following review helpful
1.0 out of 5 stars Don't read on Kindle 19 May 2013
Format:Kindle Edition|Verified Purchase
This book itself is excellent, but page formatting of code on Kindle is a mess.
This does not happen on Kindle app on iPad.
It's so ridiculous, Amazon!
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category