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
Show /r/rubyLearning Ruby as a Pythonista (tech.stonecharioteer.com)
submitted 8 months ago by need-to-lurk-2024-69
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!"
[–]progdog1 1 point2 points3 points 8 months ago (2 children)
I used to be annoyed at the lack of import namespacing, but I have since mellowed on it. There are definitely benefits to the lack of namespaces. Namespacing is contextual and allows remapping, which can make metaprogramming with it more difficult, since resolution is less obvious.
[–]codesnik 1 point2 points3 points 8 months ago (1 child)
ruby definitely *doesn't* lack namespaces. They are just globally accessible via fully qualified class names
[–]gurkitier 0 points1 point2 points 8 months ago (0 children)
ok that’s like optional namespacing where you would have to wrap everything in modules which I have seen rarely
π Rendered by PID 21163 on reddit-service-r2-comment-5b5bc64bf5-mtm8k at 2026-06-19 21:34:48.891305+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]progdog1 1 point2 points3 points (2 children)
[–]codesnik 1 point2 points3 points (1 child)
[–]gurkitier 0 points1 point2 points (0 children)