Cover of Eloquent Ruby

Eloquent Ruby

Addison-Wesley Professional Ruby Series series

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.

Audience
adult
Length
long · 413 pages

Click a tag to see books like this one that share it. Point at it (on a phone, tap it) for less of it instead.

Read it? Sign in to help tag it.

Liked Eloquent Ruby? Here’s where I’d start.

These suit anyone who liked Eloquent Ruby. Sign in and mark a few books for picks shaped around your own taste.

  1. Ruby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby Series) Shares programming, tech, ruby
  2. The Passionate Programmer Shares tech, programming, technical
  3. Metaprogramming Ruby Shares programming, ruby, tech
  4. The RSpec Book Shares programming, ruby, tech

“People who read Eloquent Ruby tend to reach for these next.”

  1. The Well-Grounded Rubyist
  2. Practical Object Oriented Design in Ruby
  3. The Rails 3 Way
  4. Rails Antipatterns: Best Practice Ruby on Rails Refactoring

“If you want more of the same (science about technology), start with these.”

  1. Database in Depth: Relational Theory for Practitioners
  2. Amazon Web Services in Action
  3. Android Application Development For Dummies
  4. Training Guide: Programming in HTML5 with JavaScript and CSS3

“If it was the programming that hooked you, try one of these.”

  1. Pro Git
  2. Design Patterns Explained: A New Perspective on Object-Oriented Design (Software Patterns Series)
  3. Building Microservices: Designing Fine-Grained Systems
  4. New Programmer's Survival Manual

“These start from a similar idea, even if they go somewhere else with it.”

  1. Fluent Python: Clear, Concise, and Effective Programming
  2. Ruby Best Practices
  3. Professional C#
  4. Java Concepts, Compatible with Java 5 and 6, 5th Edition