This repository has been archived by the owner on Jan 29, 2021. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The style guide is only a guide. I prefer the original line as less noisy. Yes, somewhat mystical the first time you see it. Since we are talking about "Style Guide" I am thinking Rubocop here. It would also suggest not using double quotes, I believe. The single quotes help re-inforce that this is not some trick of "string interpolation" but rather substitution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked at the code when I dropped in, not realizing that I had already responded to the preference. 😊 🏵️ :
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing to single quotes is an awesome idea! I did think it was a string interpolation trick, the first time I saw it. 👍 The single quotes are really meaningful here.