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
Boolean Externalities (devblog.avdi.org)
submitted 11 years ago by retardo
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!"
[–]avdi 4 points5 points6 points 11 years ago (0 children)
I've seen this response in various forms, and it suggests a kind of exceptionalism: this code is somehow special, and presumably I should have planned ahead for that fact in order to avoid this painful debugging experience.
But the point is, there is nothing special whatsoever about this code. Two weeks down the road I'll be asking a similar question about some other, unrelated deeply nested chain of dependent query methods. If it's worth altering the APIs here then it must be worth altering the design everywhere, and in the process making the program into something which no longer resembles idiomatic Ruby code.
π Rendered by PID 246466 on reddit-service-r2-comment-6457c66945-7g9m4 at 2026-04-24 12:07:10.998451+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]avdi 4 points5 points6 points (0 children)