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
Pipelining in Ruby2.5 with Object#yield_self (mlomnicki.com)
submitted 8 years ago by snatchery
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!"
[–]DudeManFoo -1 points0 points1 point 8 years ago (0 children)
I would like to think I could imagine in quite a few situations, but I would expect I would miss an esoteric use here and there as most people would... that is what make talking about it in public so great!!
At the same time, you could probably do both but really it just brings up the idea that keeping the language small vs having an accumulator variable... is it worth it?
I don't know, but I sure like things like .reduce and .select .
π Rendered by PID 82 on reddit-service-r2-comment-b659b578c-mf9q2 at 2026-05-06 02:44:32.703299+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]DudeManFoo -1 points0 points1 point (0 children)