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 proceeded 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. ...