-
Notifications
You must be signed in to change notification settings - Fork 117
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
Use consistent quotation and comment style #54
Comments
In Perl, which also interpolates double-quoted but not single-quotes strings, I've always used single quotes whenever interpolation was not expected, and double quotes only when it was. Apostrophes in strings were pesky, which is why I preferred more format errors ("Could not read file" vs. "Couldn't read file"). |
Thanks for your input @dandv! I was definitely leaning in that direction, as it's the convention I was trying to follow (but clearly failed to do so). Java is one of my most familiar languages, so I accidentally drop those double quoted strings in for no apparent reason sometimes. Just an old habit dying hard, I suppose. I'll adopt the single-quoted-unless-interpolated convention, and probably even add in a super simple style guideline to the contributing doc and include that info there as well. |
- Resolve task in Issue #54 - Use single-quotes everywhere except in interpolated strings
- Resolve task in Issue #54 - Use single-quotes everywhere except in interpolated strings
- Resolve task in Issue #54 - Use single-quotes everywhere except in interpolated strings
###*
comment style for all doc comments (those intended for both JSDoc and apiDoc)The text was updated successfully, but these errors were encountered: