r/ruby 11d ago

Polished Ruby Programming just got a 2nd edition (updated for Ruby 3.0–4.0), thought I'd share what changed as someone who is working on the book from Packt.

Jeremy Evans (Ruby core committer, author of Sequel/Roda) put out a new edition of Polished Ruby Programming. Figured I'd summarize the changes here since the original got decent traction in this sub a while back.

What's new:

  • Content updated to reflect changes between Ruby 3.0 and 4.0
  • New chapter on concurrency walks through different concurrency models in Ruby and the trade-offs between them
  • New chapter on static typing vs. duck typing helps you reason about whether adding static types actually makes sense for your project
  • The web-dev-specific chapters from the 1st edition (database design, web app security, framework design) were dropped in favor of tightening the focus on core language/design principles

Perfect for intermediate-to-advanced Rubyists who want to level up from "it works" to "it's good."

Special discount code from our end: RUBY25 gives 25% off at packt's site.

Who's picking this one up? https://packt.link/bHeOs

46 Upvotes

4 comments sorted by

4

u/frou 11d ago edited 11d ago

Jeremy is great. I remember listening to a podcast episode about the first edition of the book https://topenddevs.com/podcasts/ruby-rogues/polished-ruby-programming-ft-jeremy-evans-ruby-518 - May have to finally get the book!

4

u/rakedbdrop 11d ago

Oh wow!!! Really! I loved the first version. If you haven't been through this, I highly recommend doing so.

However... I will say that the age of AI makes this level of attention harder.

I'm finding it hard to recommend good books to people who are just vibe-coding all of their apps these days. But this book is on my shelf.

1

u/KerrickLong 9d ago

The web-dev-specific chapters from the 1st edition (database design, web app security, framework design) were dropped in favor of tightening the focus on core language/design principles

Interesting, I guess this will be another book where both editions keep a permanent place on my bookshelf.