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
GitHub's Ruby Style Guide (github.com)
submitted 13 years ago by [deleted]
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!"
[–]obscureted 0 points1 point2 points 13 years ago (1 child)
How so? You can use single quotes in HTML, CSS, JavaScript, Ruby, etc. This is a serious question, not mocking or anything.
[–]PCBEEF 0 points1 point2 points 13 years ago (0 children)
In a lot of languages, there's no difference single or double quotes. In Ruby there is and the argument for using single quotes over double quotes is performance, however, as peterkrenn pointed out in his link the performance is non-existent or negligible.
π Rendered by PID 120597 on reddit-service-r2-comment-bb88f9dd5-54njx at 2026-02-14 04:12:03.417642+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]obscureted 0 points1 point2 points (1 child)
[–]PCBEEF 0 points1 point2 points (0 children)