Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
The Ruby Programming Language and over 300,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.
 
 
More Buying Choices
49 used & new from $18.94

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 yours here.
 
  

The Ruby Programming Language (Paperback)

by David Flanagan (Author), Yukihiro Matsumoto (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 (25 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 Tuesday, July 21? Choose One-Day Shipping at checkout. Details
35 new from $21.38 14 used from $18.94
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $17.59
Paperback (Pap/Cdr) Order it used!
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: $44.40

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

Advanced Rails

Advanced Rails

by Brad Ediger
4.7 out of 5 stars (9)  $23.09
Ruby Cookbook (Cookbooks (O'Reilly))

Ruby Cookbook (Cookbooks (O'Reilly))

by Lucas Carlson
4.7 out of 5 stars (30)  $31.49
The Rails Way (Addison-Wesley Professional Ruby Series)

The Rails Way (Addison-Wesley Professional Ruby Series)

by Obie Fernandez
4.2 out of 5 stars (30)  $34.64
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) (Addison-Wesley Professional Ruby Series)

The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) (Addison-Wesley Professional Ruby Series)

by Hal Fulton
4.5 out of 5 stars (21)  $31.49
Agile Web Development with Rails, Third Edition

Agile Web Development with Rails, Third Edition

by Sam Ruby
3.9 out of 5 stars (11)  $29.01
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
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.

Product Details

  • Paperback: 446 pages
  • Publisher: O'Reilly Media, Inc. (January 25, 2008)
  • Language: English
  • ISBN-10: 0596516177
  • ISBN-13: 978-0596516178
  • Product Dimensions: 9 x 6.9 x 1.1 inches
  • Shipping Weight: 1.5 pounds (View shipping rates and policies)
  • Average Customer Review: 5.0 out of 5 stars See all reviews (25 customer reviews)
  • Amazon.com Sales Rank: #13,979 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #40 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Object-Oriented Design

Inside This Book (learn more)


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(32)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

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

 
54 of 57 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)



 
4 of 4 people found the following review helpful:
5.0 out of 5 stars Excellent Guide To Ruby, September 16, 2008
By J. Pease (Odessa, TX United States) - See all my reviews
(REAL NAME)   
Really found this to be an excellent guide to the Ruby programming language. This is definitely not just the API rehashed in print.

The difference in the style of this book and some others, in my opinion, is the difference between a map and a travel guide. A map may show you what and where things are, and may even be useful for figuring out how to go between locations, a travel guide will often include maps plus the inside scoop on what is interesting.

This book is similar. The writing style is like having an expert sit down and explain to you the various facets of the language, how to use them, points that are notable, etc. And all of this content is within a reasonable 400 pages.

Highly recommended.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

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 20 days 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 1 month 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 1 month 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 6 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 6 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 7 months ago by Luis Felipe Hurtado Campuzano

5.0 out of 5 stars In my top 10 of all time...
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. Read more
Published 8 months ago by Clinton Begin

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 9 months ago by Dave Walz-Burkett

5.0 out of 5 stars The new go-to Ruby reference
The Ruby Programming Language is my new favorite Ruby book. I personally think it is a better text than the famous "Pickaxe" book. Read more
Published 10 months ago by B. Donovan

5.0 out of 5 stars Exactly what I expected from O'Reilly
I wish every book about a programming language was written like this one:

First, it is fairly compact and doesn't waste space (and your time) explaining to you what... Read more
Published 12 months ago by E. Kontsevoy

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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


   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Let Toro Clear the Snow

Let Toro Clear the Snow
Rely on Toro for top-quality snow throwers and power shovels to make snow removal a breeze.

Shop all Toro

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 
Shop for Screwdrivers
Complete Your Toolbox with a ScrewdriverShop our huge selection of screwdrivers and other hand tools in the Home Improvement Store.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 
Ad

 

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.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

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

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates