Start reading The Ruby Programming Language on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
The Ruby Programming Language
 
 

The Ruby Programming Language [Kindle Edition]

David Flanagan , Yukihiro Matsumoto
4.6 out of 5 stars  See all reviews (5 customer reviews)

Digital List Price: £21.03 What's this?
Print List Price: £30.99
Kindle Price: £14.51 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £16.48 (53%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £14.51  
Paperback £20.14  


Product Description

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

  • Format: Kindle Edition
  • File Size: 3953 KB
  • Print Length: 448 pages
  • Page Numbers Source ISBN: 0596516177
  • Publisher: O'Reilly Media (17 Dec 2008)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B0026OR3JO
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Bestsellers Rank: #44,891 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Authors

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
29 of 29 people found the following review helpful
By Peter Cooper VINE™ VOICE
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. 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 your "Bible" for the Ruby language, 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 | 
Was this review helpful to you?
5 of 5 people found the following review helpful
Format:Paperback
Ruby is a fascinating language. One minute it is as light and simple as a bicycle; the next, it morphs into the Starship Enterprise. It also lets you do all sorts of things that not so long ago would get you arrested - introduce variables undeclared, assign any type to any other type, gayly declare methods with apparently no class, re-open classes etc. It's all part of Ruby's rich tapestry.

However whilst all this might look simple, somewhere there has to be complexity. Every page reveals the detailed rules and a lot of them are not intuitive. You get to see how it all fits together - a creation, rather than a machine. You also get the designer's view on what is good, and what should best be left alone.

So it's a pleasure to read and re-read but also invaluable for interpreting things in code you come across.

It's essential for people new to Ruby (what are the scope rules for code brought in via require or mixins?). It's equally essential for seasoned programmers (what are the features that are commonly used by other experts versus those that are rarely needed?)

You would have to be pretty clever to start writing Ruby applications just reading this book, but that's not what it's for. It's for answering all those little fundemental questions you're not quite sure about.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
Format:Paperback
I chose this book as my first ruby book and my introduction to the Ruby language. And for me that worked out really well. I would not recommend this book as an "introduction to programming" kind of book but as an introduction to ruby for people who have been programming for a time and used several other languages, it's great and it's kind of a language reference but better written than most language references I've come across earlier. It's blend of a language reference and how-to-write-ruby and a really great blend at that.

It's seldom to come by a book where there is so much information packed into so few pages (relatively), and it should maybe be read more slowly than other programming books. Especially the last few chapters are incredibly dense. And as far as I can tell, it covers just about anything there is to know about ruby and there is code examples in abundance. The diff between ruby 1.8 and ruby 1.9 is pulled of quite nicely as well although the book would be even clearer if it had just covered one version. All in all a great book.
Comment | 
Was this review helpful to you?

Popular Highlights

 (What's this?)
&quote;
global variables are prefixed with $, instance variables are prefixed with @, and class variables are prefixed with @@. &quote;
Highlighted by 31 Kindle users
&quote;
An exclamation mark at the end of a method name is used to indicate that caution is required with the use of the method. &quote;
Highlighted by 24 Kindle users
&quote;
A question mark is used to mark predicatesmethods that return a Boolean value. &quote;
Highlighted by 23 Kindle users

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
 

Search Customer Discussions
Search all Amazon discussions
   



Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges