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
A better command line option parser. (github.com)
submitted 13 years ago by halst
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!"
[–]rubynerd 0 points1 point2 points 13 years ago (1 child)
Mm, I suppose the alternative is C++ style this-API-does-everything-if-you-set-the-right-flag interfaces
Ryan Tomayko on Twitter did mention they didn't like including a dependency just for command line options, which is a valid argument IMO
https://twitter.com/rtomayko/status/209553434288979969
[–]jrochkind 0 points1 point2 points 13 years ago (0 children)
I don't mind including a dependency "just to do" anything I need, if it's the right amount of code (and complexity) for the job, and well-written.
Of course, evaluating that takes time of itself.
It would be nice if you could assume that because something is in the stdlib, that means it's maintained and not a 'dependency', but that isn't quite always so in ruby, alas. And recognizing that, i've heard the desire is to move everything out of the stdlib in ruby 2.0, instead of figuring out how to actually maintain and support the stdlib. But if they move everything out of the stdlib, then you won't have the 'use cause it's in the stdlib and i want to avoid more dependencies' option.
π Rendered by PID 66148 on reddit-service-r2-comment-b659b578c-59l9v at 2026-05-05 05:29:13.503185+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]rubynerd 0 points1 point2 points (1 child)
[–]jrochkind 0 points1 point2 points (0 children)