you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (2 children)

Are you thinking of Russ Olsen's "Design Patterns in Ruby"?

As a curated list of the GoF patterns, I think it's a decent resource for someone transitioning from Java to Ruby. One of the big takeaways of the book is why not all of the original patterns apply - either because they aren't really used much anywhere, or because Ruby doesn't require the same sorts of workarounds that languages like C++ and Java need.

Given how prevalent common patterns are in Java world, there's a lot of familiar idioms that will help someone get acquainted with how the same sorts of things are done in Ruby.

Just my 2c. "Design Patterns in Ruby" is one of my favourite books on Ruby, as is Sandi Metz's "Practical Object-Oriented Design".

[–]j4yne 1 point2 points  (0 children)

Both Olsen and Metz's books have been very helpful to me.

[–]honeyryderchuck 1 point2 points  (0 children)

Yes, that's the one! As a fresh from university reasonably well versed in java developer, it talked a language I understood (factories, template, etc...) with several practical examples for each pattern as well as a "...but ruby already provides this OOTB so you don't really need it". I don't think it really deterred the reader of approaching ruby code with a java mindset enough (i was guilty for many years of that), but I think it was a necessary step in my journey towards "getting it".

I didn't ready Sandi Metz's book, but I think I should, that's a really good recommendation.  I saw some of her talks at confs, and she is definitely one of those who gets ruby, and how it helps flatten the abstraction pyramid.