Review of Polished Ruby Programming

πŸ“… Β· ⏱️ 22 min Β· πŸ“ 5019 words Β· Also available in πŸ‡§πŸ‡·

Book: Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code by Jeremy Evans. Rating: ⭐️⭐️⭐️⭐️.

I got a contact from Packtpub about this book. The deal was to receive the book for free in exchange for an honest review. Here I am, just finished the book and will write about it.

The book is quite good, there's a lot of good information there, and I would totally recommend to someone investing in Ruby.

The author did some great contributions to the Ruby community (Ruby Committer, Lead developer of Sequel, Roda, and Rodauth. OpenBSD ruby ports maintainer.), is doing software and community work for many years now (I can quickly check his open source work since 2008), and has some strong opinions about famous Ruby libraries.

For most of the book, I was totally into the narrative and how the author was organizing information. When things started to go more into the web, I started to feel something different. It felt like the author was selling one library or the other, because they were much better than others. Turns out, it's the libraries he created himself πŸ™„. After that, I had the same feeling, until I finished the book.

The book still deserves a 4 star review. The content until the web part is indeed great. Jeremy was able to write down some interesting pieces of advice on how to use Ruby in some particular scenarios where performance is needed. I especially liked the chapter 6, about code formatting. The final part of the book is also OK, but you have to read it with a grain of salt as it feels like a mother talking about how pretty is her son/daughter. πŸ˜…

Here are my kindle highlights and my comments (in πŸ’­) about the book:

Chapter 1: Getting the Most out of Core Classes

Chapter 2: Designing Useful Custom Classes

Chapter 3: Proper Variable Usage

Chapter 4: Methods and Their Arguments

Chapter 5: Handling Errors

Chapter 6: Formatting Code for Easy Reading

Chapter 8: Designing for Extensibility

Chapter 9: Metaprogramming and When to Use It

Chapter 10: Designing Useful Domain-Specific Languages

Chapter 11: Testing to Ensure Your Code Works

Chapter 12: Handling Change

Chapter 13: Using Common Design Patterns

Chapter 14: Optimizing Your Library

Chapter 15: The Database Is Key

Chapter 17: Robust Web Application Security


🏷️ #english#books#tech

πŸ“€ Share: Email Β· LinkedIn Β· Reddit Β· HN Β· WhatsApp Β· Telegram Β· X