Skip to Content
Effective Ruby: 48 Specific Ways to Write Better Ruby
book

Effective Ruby: 48 Specific Ways to Write Better Ruby

by Peter Jones
September 2014
Intermediate to advanced content levelIntermediate to advanced
240 pages
7h 2m
English
Addison-Wesley Professional
Content preview from Effective Ruby: 48 Specific Ways to Write Better Ruby

1. Accustoming Yourself to Ruby

With each programming language you learn, it’s important to dig in and discover its idiosyncrasies. Ruby is no different. While it borrows heavily from the languages that preceded it, Ruby certainly has its own way of doing things. And sometimes those ways will surprise you.

We begin our journey through Ruby’s many features by examining its unique take on common programming ideas. That is, those that impact every part of your program. With these items mastered, you’ll be prepared to tackle the chapters that follow.

Item 1: Understand What Ruby Considers to Be True

Every programming language seems to have its own way of dealing with Boolean values. Some languages only have a single representation of true or false. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Ruby Way: Solutions and Techniques in Ruby Programming, Third Edition

The Ruby Way: Solutions and Techniques in Ruby Programming, Third Edition

Hal Fulton, André Arko
Ruby Cookbook, 2nd Edition

Ruby Cookbook, 2nd Edition

Lucas Carlson, Leonard Richardson

Publisher Resources

ISBN: 9780133847086Purchase book