
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
-25% $39.86$39.86
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$18.26$18.26
Ships from: Amazon Sold by: pegasusbookexchange

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Eloquent Ruby (Addison-Wesley Professional Ruby Series) 1st Edition
Purchase options and add-ons
It’s easy to write correct Ruby code, but to gain the fluency needed to write great Ruby code, you must go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power.
Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness.
Eloquent Ruby
starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for.
Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages.
A part of the renowned Addison-Wesley Professional Ruby Series, Eloquent Ruby will help you “put on your Ruby-colored glasses” and get results that make you a true believer.
- ISBN-100321584104
- ISBN-13978-0321584106
- Edition1st
- PublisherAddison-Wesley Professional
- Publication dateFebruary 11, 2011
- LanguageEnglish
- Dimensions7 x 0.95 x 9.13 inches
- Print length448 pages
Frequently bought together

Customers who viewed this item also viewed
Editorial Reviews
Review
About the Author
Russ Olsen’s career spans three decades, during which he has written everything from graphics device drivers to document management applications. These days, he diligently codes GIS, web service security, and process automation solutions. He spends much of his otherwise free time writing and speaking about programming, especially Ruby and Clojure. His first book was the highly regarded Design Patterns In Ruby (Addison-Wesley, 2007). He is also the lurking presence behind the Technology As If People Mattered blog at www.russolsen.com.
Product details
- Publisher : Addison-Wesley Professional
- Publication date : February 11, 2011
- Edition : 1st
- Language : English
- Print length : 448 pages
- ISBN-10 : 0321584104
- ISBN-13 : 978-0321584106
- Item Weight : 1.55 pounds
- Dimensions : 7 x 0.95 x 9.13 inches
- Part of series : Addison-Wesley Professional Ruby Series
- Best Sellers Rank: #1,058,224 in Books (See Top 100 in Books)
- #15 in Ruby Programming
- #791 in Computer Programming Languages
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find this Ruby book to be a definitive guide for intermediate developers, with clear explanations and examples. The writing style is praised for being easy to read and grasp, with the author presenting information in a clear, point-by-point manner. They appreciate how the book elucidates basic Ruby concepts and shows multiple ways to solve problems with the language.
AI-generated from the text of customer reviews
Select to learn more
Customers appreciate the book's knowledge level, noting that it explains concepts well and provides good examples, making it particularly suitable for intermediate Ruby developers.
"...This is an extremely well written book with a lot of examples and it has been a pleasure to read...." Read more
"...I feel that the book would be fantastic for anyone coming to Ruby with an in-depth knowledge of another programming language...." Read more
"...The technical content is very clearly presented, with just the right amount of detail to get the point across, and not much more...." Read more
"...Instead he zooms in on unusual, tricky, and unexpectedly useful features. He assumes you've had some basic introduction to the flavor of Ruby...." Read more
Customers praise the book's writing style, noting that it is extremely easy to read and grasp Ruby, with the author explaining everything in a clear, to-the-point way.
"...The chapter on regular expressions is excellent and I haven't seen a clearer explanation of it in other books I have referred to in the past...." Read more
"...The author's tone is somewhat light-hearted, without being cloyingly jocular...." Read more
"...Ruby itself is an elegant and powerful language, and this author's approach gives you a full-on experience of that...." Read more
"...Russ has a knack for distilling concepts to their simplest, understandable form while maintaining a breezy, friendly writing style that invites..." Read more
Customers appreciate the book's Ruby style guide, which elucidates many basic Ruby concepts and shows different ways to solve problems.
"...In addition to teaching the language, this book covers the ruby way of doing things and the reasoning behind why it's done that way...." Read more
"...Ruby itself is an elegant and powerful language, and this author's approach gives you a full-on experience of that...." Read more
"Illuminating with pretty good examples but the tone which was trying to be clever if not snarky instead verges on condescending in places, and..." Read more
"Russ Olsen has turned in an excellent Ruby style guide with "Eloquent Ruby"...." Read more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on December 29, 2013After programming for years in static typed languages, I needed to learn Ruby for use at my professional work place. I started with "Learning Ruby The Hard Way" per recommendation from a fellow co-worker - it served as decent introduction. Then I switched to Eloquent Ruby even though I was recommended a different book since the reviews for this book were extremely positive. I was not disappointed. In addition to teaching the language, this book covers the ruby way of doing things and the reasoning behind why it's done that way. Such a treatment of the subject is a welcome change for me. Now I can understand the Ruby based conversations among my co-workers much better with this background. This is an extremely well written book with a lot of examples and it has been a pleasure to read. The author's writing style is very engaging - I'm impressed so much that I'll be checking out other books from the same author (notably Ruby Design Patterns). The chapter on regular expressions is excellent and I haven't seen a clearer explanation of it in other books I have referred to in the past. The "Staying Out of Trouble" section at the end of every chapter is helpful even though some of it will be obvious for the reader. "In the Wild" section that illustrates usage in real world code/frameworks of the concepts learned in a chapter is also useful as it helps to reinforce the learning process. This is not a book to read once and then leave on the shelf - I envision myself coming back to this book on an ongoing basis as I continue to develop Ruby applications. Highly recommended.
-
Reviewed in the United States on October 19, 2024Excelente inversión en fundamentos de ruby
- Reviewed in the United States on January 1, 2016Overall, Russ Olsen's Eloquent Ruby is a good book. I feel that the book would be fantastic for anyone coming to Ruby with an in-depth knowledge of another programming language.
My main reason for giving it four stars instead of five is that this edition is a bit dated (it focuses on Ruby 1.9) and the content while broad in scope is not as in depth as I'd hoped for. Also, it should be noted that Eloquent Ruby is written more like a reference book than a "how-to" or textbook (ie - while Russ Olsen does offer real world examples at the end of chapters, this book is not written with the express purpose of teaching you how to code using the Ruby programming language, or giving you multiple or one large scale "project" to work through with the authors guidance).
- Reviewed in the United States on March 18, 2014I enjoyed reading this book, and found it to be a useful adjunct to other learning materials. The technical content is very clearly presented, with just the right amount of detail to get the point across, and not much more. The author's tone is somewhat light-hearted, without being cloyingly jocular. Where the book differs from most tutorials is that it focuses on teaching Ruby that is not just "correct", but also idiomatic. I now understand better how, for example, Rails is able to work its various "magic" using various Ruby idioms. That said, I'm not entirely comfortable with the enthusiasm with which the author embraces some of Ruby's "magical" capabilities. I wonder how easy it might be to get carried away with some of these idioms and end up writing a bunch of difficult-to-understand, difficult-to-maintain code. However, insofar as this sort of jazz is part of idiomatic Ruby, I suppose the author is fulfilling his mandate by promoting it; so I hesitate to deduct a star just on account of my own scruples here. On the whole, I recommend this book - especially if you are coming from a more traditional object-oriented language (C++, Java) - and have yet to appreciate just how flexible (sometimes worryingly so) Ruby really is.
- Reviewed in the United States on October 13, 2011The approach of this book is really fun. The author does not get bogged down in introducing an exhaustive list of language features. Instead he zooms in on unusual, tricky, and unexpectedly useful features. He assumes you've had some basic introduction to the flavor of Ruby. For example, the only introduction I had previously read was "Ruby in 20 minutes" from the Ruby home page, and that was sufficient for me to dive into this book. Ruby itself is an elegant and powerful language, and this author's approach gives you a full-on experience of that. You could easily just read this book even without having a computer in front of you.
- Reviewed in the United States on March 1, 2011It's been three years since I devoured Russ Olsen's first book, Design Patterns in Ruby, and I'm still no closer to being a Ruby whiz. This is not his books' fault -- if I had a set of programming New Years Resolutions, "learn Ruby" would be my failed equivalent to "going to the gym". It's pretty amazing, then, that I could still read, follow, and enjoy his latest book without necessarily being in its target audience. Russ has a knack for distilling concepts to their simplest, understandable form while maintaining a breezy, friendly writing style that invites readers to share in his excitement about Ruby. This is done in a pretty humble manner, free of evangelizing or gimmicks like cartoons and bad jokes, and when you look up at the end of the book, it's like you've spent a pleasant afternoon with a mentor rather than a lecturing professor.
It's true that this book is more specific to Ruby than the previous one, but even non-Ruby-programmers will walk away with some new knowledge or a rounder understanding of programming. You might even be compelled to learn Ruby!
Top reviews from other countries
-
jeffReviewed in France on March 23, 2012
5.0 out of 5 stars A lire absolument si on veut connaitre ruby
Très bon livre.
La structure est très claire, la lecture rapide et on a toujours envie d'aller plus loin dans le livre.
Tous les chapitres ont leur importance et vous font passer des bases du ruby aux recoins les plus complexes, et fonctions les plus avancées sans jamais vous perdre en route.
C'est un livre à avoir à portée de main lorsqu'on développe en ruby.
PS: il faut au moins avoir fait quelques expériences (tutoriel codage) en ruby avant de le lire.
- ShayanReviewed in the United Kingdom on June 18, 2012
5.0 out of 5 stars The Harry Potter of technical books
I never had this feeling during reading a technical book but for this one I was enjoying every word of it and I was hoping it never end!
One of the best chapters in my opinion is chapter 13 (Singletons). The way that this book explains it step by step is just amazing. After reading it, you will gain such a deep understanding about Ruby which you wouldn't if you had the whole RubyDoc by heart.
- Amazon CustomerReviewed in Canada on October 24, 2023
5.0 out of 5 stars A must
This book is a must-read for any serious developer using Ruby. You will write better code and avoid lots of headaches.
-
Usuario AmazonReviewed in Spain on September 20, 2017
5.0 out of 5 stars Imprescindible
Si ya sabes algo de Ruby, sin duda este es el libro perfecto para aprender a escribirlo correctamente. Uno de los.. libros fundamentales de este lenguaje junto con el "pickaxe"
- HunzReviewed in Brazil on June 21, 2016
5.0 out of 5 stars Excelent and concise
Goes straight to the matter.
If you already know a bit of Ruby or other programming languages and you want to get a solid grip on how Ruby works (the language and the community), this book is an excelent choice.
It is short and concise but does not fall short in any subject.
I really loved reading it.