Preface
Learning a new programming language usually happens in two phases. During the first phase you spend time learning the syntax and structure of the language. This phase is often short when you have previous experience learning new programming languages. In the case of Ruby, the syntax is very familiar to those who have experience with other object-oriented languages. The structure of the language—how you build programs out of the syntax—should also be very familiar to experienced programmers.
The second phase, on the other hand, can take a bit more work. This is when you dig deeper into the language and learn its idioms. Most languages have a unique way of solving common problems, and Ruby is no different. For example, Ruby uses blocks ...
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.
Read now
Unlock full access