Start reading Eloquent Ruby (Addison-Wesley Professional Ruby Series) 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.
Eloquent Ruby (Addison-Wesley Professional Ruby Series)
 
 

Eloquent Ruby (Addison-Wesley Professional Ruby Series) [Kindle Edition]

Russ Olsen
4.4 out of 5 stars  See all reviews (7 customer reviews)

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

Formats

Amazon Price New from Used from
Kindle Edition £16.43  
Paperback £22.67  


Product Description

Review

"R>Eloquent Ruby is like programming in Ruby itself: fun, surprisingly deep, and you'll find yourself wishing it was always done this way. Wherever you are in your Ruby experience from novice to Rails developer, this book is a must read."

--Ethan Roberts

Owner, Monkey Mind LLC

 

"Eloquent Ruby lives up to its name. It's a smooth introduction to Ruby that's both well organized and enjoyable to read, as it covers all the essential topics in the right order. This is the book I wish I'd learned Ruby from."

--James Kebinger

Senior Software Engineer, PatientsLikeMe

www.monkeyatlarge.com

 

"Ruby's syntactic and logical aesthetics represent the pinnacle for elegance and beauty in the ALGOL family of programming languages. Eloquent Ruby is the perfect book to highlight this masterful language and Russ's blend of wit and wisdom is certain to entertain and inform."

--Michael Fogus

Contributor to the Clojure programming language and author of The Joy of Clojure

Product Description

This is the eBook version of the printed book.

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.


Product details

  • Format: Kindle Edition
  • File Size: 6285 KB
  • Print Length: 448 pages
  • Publisher: Addison-Wesley Professional; 1 edition (7 Feb 2011)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B004MMEJ36
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Bestsellers Rank: #100,592 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Russ Olsen
Discover books, learn about writers, and more.

Visit Amazon's Russ Olsen Page

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

Most Helpful Customer Reviews
4 of 4 people found the following review helpful
Format:Paperback
I own a lot of ruby book but no one of them is so easy to read and sometimes so funny like this one. It's a pain that Russ Olsen don't update its blog often: his writing style is wonderful.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
Format:Kindle Edition
I can't even begin to imagine how difficult it would be to write a book covering such an in-depth topic as the Ruby Programming language. Add to that a target audience with a widely diverse range of skills and the tasks seems to be out right impossible. Fortunately for us mere mortals Russ Olsen has taken on this challenge and surpassed my high expectations in his second book, Eloquent Ruby.

The first part of the book is for the Ruby newbies, but takes an interesting deviation from most programming books. Instead of focusing simply on the syntax and language libraries, Eloquent Ruby focuses on the community aspect of the Ruby programming language. Each programming community has its own style and norms and without a lot of direction and practice, these style and norms can be difficult to learn. The Ruby community is heavily opinionated and Russ's book does a great job of explaining these opinions and their manifestation in many Ruby codebases.

In Part Two of Eloquent Ruby, Olsen dives into the core concepts and building blocks of the Ruby programming language. This section of the book covers the everyday usage patterns and common best practices when working with Ruby's classes, iterators, blocks, and modules.

The power and flexibility of Ruby is put on full display in Part Three of Russ's book. Newcomers to Ruby are often mystified by Ruby code that appears to be doing magical things like dynamically adding methods to a class. In this section, Russ pulls back the curtain and explains the magic that is metaprogramming. Those unfamiliar with the concept may find the topic confusing at first, but Olsen breaks it down in a way that is easy to understand. This section thoroughly covers Ruby's method_missing hook and how to open classes to add your own customizations.

In the last section Russ ties a lot of the concepts of the book together through a discussion on how Ruby can be used to create Domain Specific Languages (DSLs). As a bonus Russ finishes the book with a chapter on how to package your code into a gem (Ruby library) and a chapter on the different Ruby Implementations.

At almost 400 pages I feared Eloquent Ruby would take a while to read, but I was pleasantly surprised at the pace at which I made it through the book. Even though the book was a quick read it still felt as if I had gained a lot of new knowledge after its completion. I credit the speed reading and depth of understanding to Olsen's writing style. The book is broken up into 30 concise chapters that each focus on a specific topic. This makes the book's information very easy to digest.

Following a similar pattern from his first book, Design Patterns in Ruby, each chapter of Eloquent Ruby describes code examples "In the Wild" where Olsen discusses code snippets from open source projects using the topics covered within that chapter. In my opinion giving "real world" code examples was a great way to prove the relevance of the information covered in the book. Overall, Eloquent Ruby was a great read and I'd highly recommend it to Rubyist at all skill levels.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
Format:Kindle Edition
I have read quite a few Ruby books in my day and this one just blows the doors off all the rest. The pace of the chapters make the content easy to digest and quickly apply to your day to day coding. The footnotes are fun and informative so be sure to read them all. The chapter on method_missing is worth the price of the book, which means every other chapter is extra value. I am buying a copy for each Ruby developer on my team.
Comment | 
Was this review helpful to you?

Popular Highlights

 (What's this?)
&quote;
Dont try to use ||= to initialize things to booleans. &quote;
Highlighted by 42 Kindle users
&quote;
Any instance of a class can call a protected method on any other instance of the class. &quote;
Highlighted by 33 Kindle users
&quote;
You can discover whether the class of an instance includes a given module with the kind_of? method. &quote;
Highlighted by 27 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