
Ruby
Wzorce projektowe
Author: Russ Olsen
My adventure with Ruby books started with “The Ruby Programming Language” . To be honest, it wasn’t quite what I was looking for at the time. But “Design Patterns in Ruby” filled that gap perfectly.
It provides a quick and effective introduction to the language, which is perfect if you’re already familiar with another programming language and don’t need a primer on the basics. The book then iteratively explores various programming problems and presents idiomatic Ruby solutions. I particularly enjoyed the section on composition versus inheritance, which clarified why building deep object hierarchies isn’t always the best approach. That was a lightbulb moment for me; I finally grasped the benefits of interfaces and felt like I’d become a more capable developer after reading it. The examples were clear and the exercises were engaging.
This book gave me a newfound appreciation for the Ruby language. Unfortunately, my colleagues hadn’t read it, so I wasn’t able to use Ruby for our internal scripts as often as I would have liked 🤷