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

Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
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
5.0 out of 5 stars  See all reviews (3 customer reviews)
List Price: CDN$ 39.99
Price: CDN$ 26.30 & FREE Shipping. Details
You Save: CDN$ 13.69 (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
Only 8 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Friday, August 29? Choose One-Day Shipping at checkout.

Formats

Amazon Price New from Used from
Kindle Edition CDN $18.90  
Paperback CDN $26.30  
Save Up to 90% on Textbooks
Hit the books in Amazon.ca's Textbook Store and save up to 90% on used textbooks and 35% on new textbooks. Learn more.
Join Amazon Student in Canada


Book Description

Feb. 4 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.


Special Offers and Product Promotions

  • Join Amazon Student in Canada


Frequently Bought Together

The Ruby Programming Language + Ruby on Rails Tutorial: Learn Web Development with Rails (2nd Edition) + Eloquent Ruby
Price For All Three: CDN$ 88.51


Customers Who Bought This Item Also Bought


Product Details


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


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most helpful customer reviews
5.0 out of 5 stars Well written Oct. 16 2012
Format:Paperback|Verified Purchase
A very well written book. I would say this is the perfect book for someone with at least some programming experience who wants to learn the ruby language. Novices might probably want to start with an online tutorial.
Was this review helpful to you?
5.0 out of 5 stars Deepen your Ruby knowledge! April 23 2012
Format:Paperback|Verified Purchase
The book lives up to the hype. This is a phenomenal book that talks about ins and outs of Ruby programming language.

I worked with Ruby and Ruby on Rails for over a year and several years of other programming languages, but I never really delved into the Ruby language itself. I was just picking up different tricks here and there along the way. I was able to get stuff done, but I felt like I was missing the big picture. This book was perfect for my need in building my Ruby understanding ground-up.

Buyer Beware!!!

This is not a beginner's book on programming. This book might not even be the best book to begin programming in Ruby. This position is clarified by Matz and Flanagan early on in the book.

"It is easy to program in Ruby, but Ruby is not a simple language. Because this book documents Ruby comprehensively, it is not a simple book (though we hope that you find it easy to read and understand). It is intended for experienced programmers who want to master Ruby and are willing to read carefully and thoughtfully to achieve that goal."

The book assumes intermediate knowledge in programming and object oriented programming in general. In order to fully appreciate the book, it's best if you are already an experience programmer.

If you are a beginner looking to get started, do not buy this book.
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars A great read March 22 2010
Format:Paperback
"The Ruby Programming Language" is a great read. In the past, I've read Rails-specific books, and understood the basics of Ruby. However, this book introduced me to a lot of new things that I didn't know were possible with Ruby.

I'd recommend giving this book a read even if you've written full Rails apps in the past. There's lots of useful information in this book.
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.7 out of 5 stars  73 reviews
128 of 133 people found the following review helpful
5.0 out of 5 stars This is the new authoritative Ruby book and the one to buy. Feb. 26 2008
By Peter Cooper - Published on Amazon.com
Format: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.
21 of 21 people found the following review helpful
5.0 out of 5 stars In my top 10 of all time... Oct. 26 2008
By Clinton Begin - Published on Amazon.com
Format: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.
21 of 21 people found the following review helpful
5.0 out of 5 stars Perfect For Experienced Ruby Developers March 7 2008
By Dan McKinnon - Published on Amazon.com
Format: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
23 of 24 people found the following review helpful
4.0 out of 5 stars Not sure if this is the best book to start! Oct. 4 2009
By Fabio Utzig - Published on Amazon.com
Format:Paperback|Verified Purchase
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 that this could be actually a better book for learning the language. So, I didn't read the Pickaxe and cannot really make a comparison but from what I heard and comparing with this one I would get the Pickaxe if I should choose again.

After finishing reading this book I can say that there are a lot of topics that I really don't remember anymore and lots of doubts that I still have. The major flaw here is that there are no exercises anywhere in the book. All the best programming books I read in the past have very good exercises to evaluate what you've learned (I could give as examples Learning Perl, C++ Programming Language, Core Java, etc). I think that without exercising what you learned it's really hard to judge how much you have really learned.

Another thing which is not described in the book is how to organize a big project. I'm used to working in large projects in C and C++ and I really have no idea of how to organize a large project in Ruby, how to organize classes in files, etc. I will start studying Rails now, and will get the Rails code and read it to make sense of how to organize a large project but be aware that this is not described here.

Also some sections of the book, are really "dry", like the one who talks about functional programming which is really hard to follow (this one is the first that came to my mind but there are a lot of sections which are hard to follow or don't make a lot of sense when reading first time). These sections are clearly targeted at advanced Ruby programmers.

I'll rate this book with 4 stars because despite the flaws I mentioned, the explanation of the language in general is really good.
30 of 35 people found the following review helpful
2.0 out of 5 stars Kindle edition formating is not to standard May 21 2011
By Eric C. Jones - Published on Amazon.com
Format:Kindle Edition|Verified Purchase
While the book is great -- the formating of the kindle edition leaves much to be desired. If you wish to purchase this e-book know that the code is horribly formated and wraps lines even in the smaller font sizes.
Search Customer Reviews
Only search this product's reviews

Look for similar items by category


Feedback