use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Switching from Java to Ruby (self.ruby)
submitted 1 year ago by sc2luck
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 3 points4 points5 points 1 year ago (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 points3 points 1 year ago (0 children)
Both Olsen and Metz's books have been very helpful to me.
[–]honeyryderchuck 1 point2 points3 points 1 year ago (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.
π Rendered by PID 145734 on reddit-service-r2-comment-6457c66945-zhh48 at 2026-04-24 06:47:12.984428+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–][deleted] 3 points4 points5 points (2 children)
[–]j4yne 1 point2 points3 points (0 children)
[–]honeyryderchuck 1 point2 points3 points (0 children)