The Ruby Programming Language and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
52 used & new from $8.68

Have one to sell? Sell yours here
 
   
The Ruby Programming Language
 
 
Start reading The Ruby Programming Language on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

The Ruby Programming Language (Paperback)

~ (Author), (Author), Flanagan David (Author), Matsumoto Yukihiro (Author)
Key Phrases: lexical structure, lambda literal, alias chaining, The Ruby Platform, Simple Class, Sudoku Solver (more...)
5.0 out of 5 stars  See all reviews (28 customer reviews)

List Price: $39.99
Price: $26.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.60 (34%)
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Thursday, November 12? Choose One-Day Shipping at checkout. Details
36 new from $19.99 16 used from $8.68

Formats

Amazon Price New from Used from
  Kindle Edition $17.59 -- --
  Paperback $26.39 $19.99 $8.68
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy The Ruby Programming Language and get Ruby In A Nutshell at an additional 5% off Amazon.com's everyday low price.

The Ruby Programming Language + Ruby In A Nutshell
Buy Together Today: $42.04

Show availability and shipping details

  • This item: The Ruby Programming Language

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Ruby In A Nutshell

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Learning Rails

Learning Rails

by Simon St Laurent
4.8 out of 5 stars (8)  $23.09
Agile Web Development with Rails, Third Edition

Agile Web Development with Rails, Third Edition

by Sam Ruby
Ruby Cookbook (Cookbooks (O'Reilly))

Ruby Cookbook (Cookbooks (O'Reilly))

by Lucas Carlson
4.7 out of 5 stars (30)  $31.49
Beginning Ruby: From Novice to Professional, Second Edition

Beginning Ruby: From Novice to Professional, Second Edition

by Peter Cooper
4.9 out of 5 stars (30)  $26.39
Advanced Rails

Advanced Rails

by Brad Ediger
4.7 out of 5 stars (9)  $23.09
Explore similar items

Editorial Reviews

Product Description

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.



About the Author

Flanagan has a degree in computer science and engineering from the Massachusetts Institute of Technology. He is a consulting computer programmer, user interface designer, and trainer.


Matsumoto is a programmer who has worked for netlab.co.jp, a Japanese open source company.

Product Details


More About the Authors

Discover books, learn about writers, read author blogs, and more.

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(35)
(1)
(1)

Your tags: Add your first tag
 

 

Customer Reviews

28 Reviews
5 star:
 (27)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (28 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
58 of 62 people found the following review helpful:
5.0 out of 5 stars This is the new authoritative Ruby book. Buy it, not the Pickaxe., February 26, 2008
By Peter Cooper (Louth, UK) - See all my reviews
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. Forget the Pickaxe and its mediocrity, and 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.
Comment Comments (6) | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 6 people found the following review helpful:
5.0 out of 5 stars Perfect For Experienced Ruby Developers, March 7, 2008
By Daniel McKinnon (Tewksbury, MA USA) - See all my reviews
(TOP 500 REVIEWER)      
'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
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5 of 5 people found the following review helpful:
5.0 out of 5 stars In my top 10 of all time..., October 26, 2008
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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars Not sure if this is the best book to start!
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... Read more
Published 1 month ago by Fabio Utzig

5.0 out of 5 stars best ruby book
Functions both as a textbook and a fairly "quick" reference. Kudos to the authors for their clarity and just the right amount of unambiguous detail.
Published 1 month ago by Jon Hancock

5.0 out of 5 stars A remarkable programming language book
This book is focused, straight to the point, dense, fun to read and enjoyable with it's strong logical flow of ideas, language construct details and intuitive presentation of the... Read more
Published 2 months ago by Ghassan Ayesh

5.0 out of 5 stars Get this Book!
This is a fantastic book for beginning rubyists that have a decent programming background with another language. Read more
Published 4 months ago by Juan Vazquez

5.0 out of 5 stars the manual to follow
feels like i am reading the C programming language book by K&R ... the style is very similar ... although i am in for a paradigm shift ... Read more
Published 5 months ago by Eswar Balasubrahmanyan

5.0 out of 5 stars A Necessary Addition to any Rubyist's Library
I picked this book up at a local Borders. As with most OReily books, it is well done.

Each section of the book is well written, and most important to me, there are... Read more
Published 5 months ago by Nicholas Sardo

5.0 out of 5 stars Straight to the point.
One of the best programming books that i've read in a long time. Its an easy read for any level programmer. Read more
Published 9 months ago by R. Florian

5.0 out of 5 stars The definitive guide to Ruby (think K&R C Programming Language loveliness).
This is such a great book... The only shame is it took so long to come out. Like many others I struggled through the Pickaxe (a so-so book, to be avoided), then discovered... Read more
Published 10 months ago by J.S.R.

5.0 out of 5 stars Excellent book
This books explains a lot of details of the Ruby language you can't find in other place.
Published 11 months ago by Luis Felipe Hurtado Campuzano

5.0 out of 5 stars Matz Gets It Right!
This book does for Ruby what Kernighan & Ritchie's "The C Programming Language" did for C. It provides a concise, accessible introduction to the Ruby programming language... Read more
Published 13 months ago by Dave Walz-Burkett

Only search this product's reviews



Customer Discussions

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

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


Active discussions in related forums
Discussion Replies Latest Post
Textbooks for Kindle DX? 61 3 days ago
textbook scam 66 8 days ago
Amazon is a great place to buy textbooks! 35 20 days ago
Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.