Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain rationale for preferring single quotes #222

Closed
agrimm opened this issue Sep 9, 2013 · 2 comments
Closed

Explain rationale for preferring single quotes #222

agrimm opened this issue Sep 9, 2013 · 2 comments

Comments

@agrimm
Copy link

agrimm commented Sep 9, 2013

There's a couple of issue reports where people are wanting to delete the single quotes thing.

But rather than deleting the single quote thing, I'd prefer to read a rationale in the Ruby style guide as to why single quotes are better. Is it a performance thing? Or ensuring that strings aren't going to launch the missiles without warning that they do so?

@lee-dohm
Copy link
Contributor

lee-dohm commented Sep 9, 2013

I think the discussion on this pull request was the most recent one where the merits of each approach were brought up.

@bbatsov
Copy link
Collaborator

bbatsov commented Feb 18, 2014

See related commit.

@bbatsov bbatsov closed this as completed Feb 18, 2014
Tsagadai pushed a commit to Tsagadai/ruby-style-guide that referenced this issue Oct 13, 2014
marocchino pushed a commit to marocchino/ruby-style-guide that referenced this issue Aug 11, 2015
shyouhei pushed a commit to shyouhei/ruby-style-guide that referenced this issue Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants