Add double-quotes to style guide

This commit is contained in:
Denton Liu
2016-08-11 11:10:47 -04:00
parent f2389b3314
commit 2a492f59c9
+13 -1
View File
@@ -118,7 +118,7 @@ Source File Encoding
UTF-8 or ASCII encoding is preferred.
Imports
==========
=======
Import statements should always be placed at the top of the file.
@@ -519,6 +519,18 @@ No::
Other Recommendations
=====================
* Strings should be quoted with double-quotes instead of single-quotes.
Yes::
str = "foo";
str = "Hamlet says, 'To be or not to be...'";
No::
str = 'bar';
str = '"Be yourself; everyone else is already taken." -Oscar Wilde';
* Surround operators with a single space on either side.
Yes::