BookFrontier
Eloquent Ruby by Russ Olsen

Book

Eloquent Ruby

1st Edition

Russ Olsen

Pearson Education · Print & ebook · February 11, 2011

Reading lane: Ruby Programming

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.

At a Glance

Why This Clicks

Thinking in Ruby

A practical route from Ruby syntax to the language’s distinctive habits of expression.

Come here for

  • A feel for why Ruby works the way it does
  • The craft of writing code that looks like Ruby

Expect

  • Close-up choices involving methods, strings, symbols, tests, and bugs
  • A widening view, from classes and metaprogramming to gems and DSLs

Book Details

Authors
Russ Olsen
Publisher
Pearson Education
Published
February 11, 2011
Format
Print & ebook
Theme
Ruby Programming · Programming Languages
Reading lane
Ruby Programming

Affinity

Publisher Categories

  • Programming Languages

About This 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 w...

Read full description

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.

Similar Books