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

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$20.11 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Sell Back Your Copy
For a $10.38 Gift Card
Trade in
More Buying Choices
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, or download a FREE Kindle Reading App.

The Ruby Programming Language [Paperback]

David Flanagan (Author), Yukihiro Matsumoto (Author)
4.8 out of 5 stars  See all reviews (44 customer reviews)

List Price: $39.99
Price: $24.14 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $15.85 (40%)
  Special Offers Available
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 Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $5.98  
Paperback $24.14  
Unknown Binding --  
Sell Back Your Copy for $10.38
Whether you buy it used on Amazon for $14.99 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $10.38.
Used Price$14.99
Trade-in Price$10.38
Price after
Trade-in
$4.61

Book Description

0596516177 978-0596516178 February 1, 2008 First Edition

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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

The Ruby Programming Language + Ruby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby Series) + Eloquent Ruby (Addison-Wesley Professional Ruby Series)
Price For All Three: $78.19

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Ruby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby Series) $22.67

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

  • Eloquent Ruby (Addison-Wesley Professional Ruby Series) $31.38

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



Editorial Reviews

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: 448 pages
  • Publisher: O'Reilly Media; First Edition edition (February 1, 2008)
  • Language: English
  • ISBN-10: 0596516177
  • ISBN-13: 978-0596516178
  • Product Dimensions: 7 x 9.1 x 1 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (44 customer reviews)
  • Amazon Best Sellers Rank: #13,477 in Books (See Top 100 in Books)

More About the Authors

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

 

Customer Reviews

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

96 of 100 people found the following review helpful:
5.0 out of 5 stars This is the new authoritative Ruby book and the one to buy., February 26, 2008
This review is from: The Ruby Programming Language (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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 19 people found the following review helpful:
5.0 out of 5 stars In my top 10 of all time..., October 26, 2008
This review is from: The Ruby Programming Language (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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


18 of 18 people found the following review helpful:
5.0 out of 5 stars Perfect For Experienced Ruby Developers, March 7, 2008
This review is from: The Ruby Programming Language (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
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
lexical structure, lambda literal, alias chaining, jcode library, name resolution algorithm, dup methods, single lvalue, righthand operand, lefthand operand, splat operator, rescue clause, default load path, private instance methods, singleton methods, lefthand expression, proc object, hash literal, method invocation expression, external iterators, entering proc, enumerable object, variable reference expression, abbreviated assignment, iterator method, anonymous module
Key Phrases - Capitalized Phrases (CAPs): (learn more)
The Ruby Platform, Simple Class, Sudoku Solver, Use File, Try Ruby, Altering Control Flow, Any Ruby, The Top-Level Environment, Defining Methods, Point Point, All Ruby, Syntax Error, Ruby's Boolean, Domain-Specific Languages, Tour of Ruby, Class Instance Variables, Method Visibility
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

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

Your tags: Add your first tag
 

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
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject