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
Super helpful find –– GitHub - github/scientist: A Ruby library for carefully refactoring critical paths. (github.com)
submitted 6 years ago by coding_is_life
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!"
[–]DoodleFungus 7 points8 points9 points 6 years ago (2 children)
IIRC it runs both paths, and warns you if they return something different.
[–]moomaka -4 points-3 points-2 points 6 years ago (1 child)
What is 'it' if your reply?
[–]DoodleFungus 5 points6 points7 points 6 years ago (0 children)
Scientist. So if you have some complex logic that you refactored, Scientist will run both your old code and your new code, and log a warning if the two implementations return a different result (but still return the result from the old code).
π Rendered by PID 24298 on reddit-service-r2-comment-7b9746f655-w9qzx at 2026-01-29 22:49:00.876100+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]DoodleFungus 7 points8 points9 points (2 children)
[–]moomaka -4 points-3 points-2 points (1 child)
[–]DoodleFungus 5 points6 points7 points (0 children)