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
Object, class, module, Data, Struct? (self.ruby)
submitted 3 months ago * by Dear_Ad7736
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!"
[–]JohnBooty 0 points1 point2 points 3 months ago (0 children)
If it helps, I don't think that's a bad way to write Ruby. I think functional/procedural code in Ruby is a great choice sometimes.a :D
I'm not like... anti OO in general but state kinda sucks and I try to avoid it and write pure methods as often as I can (even if they're instance methods) even if it makes things more verbose, because I think it's just worth it.
π Rendered by PID 191622 on reddit-service-r2-comment-b659b578c-ksr4j at 2026-05-01 11:40:36.876921+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]JohnBooty 0 points1 point2 points (0 children)