The Ruby Programming Language

The Ruby Programming Language
by David Flanagan, Yukihiro Matsumoto

The Ruby Programming Language
List Price: $39.99
Our Price: $22.55
You Save: $17.44 (44%)
Availability: Usually ships in 1-2 business days
Buy Used: from $14.95 (click here)
Category: Book
See more book details and other editions


or

Book Summary Information

Author: David Flanagan, Yukihiro Matsumoto
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2008-02-01
ISBN: 0596516177
Number of pages: 448
Publisher: O'Reilly Media
Product features:
  • ISBN13: 9780596516178
  • Condition: New
  • Notes: BRAND NEW FROM PUBLISHER! 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!

Book Reviews of The Ruby Programming Language

Book Review: Quite possibly the be all and end all of Ruby books
Summary: 5 Stars

For a long time now Dave Thomas' Programming Ruby: The Pragmatic Programmers' Guide, Second Edition (aka. The Pickaxe) has been the standard in the Ruby community as the book to learn Ruby from. Unfortunately the Pickaxe is not the best programming book ever written. In fact, its bulk and slowness almost killed my inspiration to learn Ruby. I respect Dave Thomas a lot for what he does for the Ruby community but the Pickaxe and I just did not click.

Since I didn't find the Pickaxe to be excellent reading material, I had been eagerly anticipating David Flanagan's The Ruby Programming Language to come out and unseat The Pickaxe as the de facto book to recommend to newcomers to Ruby.

I am happy to say that The Ruby Programming Language did not disappoint. I picked up this book solely expecting to just review it since I already comfortable programming in Ruby. However, once I started reading the book I found myself frequently learning things about Ruby that I didn't know before. Not like little things either like, "oh that's interesting". I'm talking significant things like "holy crap that's sweet!".

This book covers both Ruby 1.8 and Ruby 1.9. Initially this concerned me because as impressive as it is, it must have been quite a headache for the authors and was not sure how they were going to pull it off. It turns out to be pretty much a non-issue. The authors make a note of what is 1.8 or 1.9 only and it does not disturb the flow of the book since it doesn't come up too frequently. I do hope though that after Ruby 1.9 stable is released they upgrade the book and tear out all the 1.8 specific material. Since I currently use 1.8 on a daily basis I don't mind having 1.8 material in there but after everything has shifted to 1.9 it would be rather irksome.

The style of the book is fairly straightforward. It starts with an introduction to how Ruby programs work and then goes into an explanation of Ruby datatypes and objects. The later chapters cover advanced topics like reflection and metaprogramming. The authors opted not to go the tutorial route, which I think, was a good approach since the book is not designed to be an "intro to programming" text.

In the preface of the book, the authors state:
> [The Ruby Programming Language] is loosely modeled after the classic C Programming Language (2nd Edition) (Prentice Hall Software) by Kernighan and Ritchie and aims to document the Ruby language comprehensively 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 take their understanding and mastery of the language to the next level.

O'Reilly is hoping that The Ruby Programming Language becomes the equivalent of K&R's The C Programming Language for Ruby and I hope it succeeds. I think that every language needs their own K&R book for people to turn to as the definitive authority. That's something that I feel like the Java programming language never had and it creates something of a hurdle when browsing for a Java book.

The third edition of the Pickaxe is in beta and will be coming out soon. I really hope it makes a strong showing when it hits the press because after the bangup job Flanagan and Matz did with The Ruby Programming Language, there is no reason to look at the Pickaxe till then.

Summary of The Ruby Programming Language

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.

Languages & Tools Books

Book Subjects
Most talked about in Languages & Tools Books
Eclipse Plug-ins (3rd Edition) ImageEclipse Plug-ins (3rd Edition)
by Eric Clayberg, Dan Rubel
Addison-Wesley Professional; Published: 2008-12-21; Paperback; Book
Best price: $38.33
Price in other shops: $59.99
Java Software Solutions: Foundations of Program Design (6th Edition) ImageJava Software Solutions: Foundations of Program Design (6th Edition)
by John Lewis, William Loftus
Addison Wesley; Published: 2008-03-07; Paperback; Book
Best price: $74.40
Price in other shops: $128.00
C++ Primer (3rd Edition) ImageC++ Primer (3rd Edition)
by Stanley B. Lippman, Josée Lajoie
Addison-Wesley Professional; Published: 1998-04-02; Paperback; Book
Best price: $14.47
Price in other shops: $49.99
Accelerated C++: Practical Programming by Example ImageAccelerated C++: Practical Programming by Example
by Andrew Koenig, Barbara E. Moo
Addison-Wesley Professional; Published: 2000-08-24; Paperback; Book
Best price: $26.99
Price in other shops: $49.99
Patterns of Software: Tales from the Software Community ImagePatterns of Software: Tales from the Software Community
by Richard P. Gabriel
Oxford University Press, USA; Published: 1998-05-28; Paperback; Book
Best price: $64.55
Just Java? 2 (6th Edition) ImageJust Java? 2 (6th Edition)
by Peter van der Linden
Prentice Hall; Published: 2004-07-01; Paperback; Book
Best price: $35.00
Price in other shops: $64.99
UML for Java? Programmers ImageUML for Java? Programmers
by Robert C. Martin
Prentice Hall; Published: 2003-06-06; Paperback; Book
Best price: $22.99
Price in other shops: $44.99
Thinking in Java (3rd Edition) (One-Off) ImageThinking in Java (3rd Edition) (One-Off)
by Bruce Eckel
Prentice Hall PTR; Published: 2002-12-06; Paperback; Book
Best price: $13.80
Price in other shops: $54.99
SQL Fundamentals with CDROM ImageSQL Fundamentals with CDROM
by John J. Patrick
Prentice Hall; Published: 1999-05-11; Paperback; Book
Best price: $12.00
Price in other shops: $44.99
C How to Program, 2nd Edition ImageC How to Program, 2nd Edition
by Paul J. Deitel
Prentice Hall; Published: 1994-01-13; Textbook Binding; Book
Best price: $25.84
Price in other shops: $70.00
Similar Books and other products
Beginning Rails 3 (Expert's Voice in Web Development) ImageBeginning Rails 3 (Expert's Voice in Web Development)
by Cloves Carneiro Jr., Rida Al Barazi
Apress; Published: 2010-09-01; Paperback; Book
Best price: $16.51
Price in other shops: $39.99
JavaScript: The Good Parts ImageJavaScript: The Good Parts
by Douglas Crockford
Yahoo Press; Published: 2008-05; Paperback; Book
Best price: $16.55
Price in other shops: $29.99
Beginning Ruby: From Novice to Professional ImageBeginning Ruby: From Novice to Professional
by Peter Cooper
Apress; Published: 2009-07-21; Paperback; Book
Best price: $22.58
Price in other shops: $39.99
Rails 3 Way, The (2nd Edition) (Addison-Wesley Professional Ruby Series) ImageRails 3 Way, The (2nd Edition) (Addison-Wesley Professional Ruby Series)
by Obie Fernandez
Addison-Wesley Professional; Published: 2010-12-20; Paperback; Book
Best price: $25.00
Price in other shops: $49.99
Metaprogramming Ruby: Program Like the Ruby Pros ImageMetaprogramming Ruby: Program Like the Ruby Pros
by Paolo Perrotta
Pragmatic Bookshelf; Published: 2010-02-22; Paperback; Book
Best price: $18.12
Price in other shops: $32.95
Ruby Cookbook (Cookbooks (O'Reilly)) ImageRuby Cookbook (Cookbooks (O'Reilly))
by Lucas Carlson, Leonard Richardson
O'Reilly Media; Published: 2006-07-26; Paperback; Book
Best price: $18.00
Price in other shops: $49.99
Agile Web Development with Rails (Pragmatic Programmers) ImageAgile Web Development with Rails (Pragmatic Programmers)
by Sam Ruby, Dave Thomas, David Heinemeier Hansson
Pragmatic Bookshelf; Published: 2011-03-31; Paperback; Book
Best price: $24.46
Price in other shops: $43.95
Eloquent Ruby (Addison-Wesley Professional Ruby Series) ImageEloquent Ruby (Addison-Wesley Professional Ruby Series)
by Russ Olsen
Addison-Wesley Professional; Published: 2011-02-21; Paperback; Book
Best price: $28.57
Price in other shops: $44.99
Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby) ImageProgramming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby)
by Dave Thomas, Chad Fowler, Andy Hunt
Pragmatic Bookshelf; Published: 2009-04-28; Paperback; Book
Best price: $28.73
Price in other shops: $49.95
Ruby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby Series) ImageRuby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby Series)
by Michael Hartl
Addison-Wesley Professional; Published: 2010-12-26; Paperback; Book
Best price: $20.89
Price in other shops: $39.99