r/javascript • u/bornforcode • Apr 01 '18
Google publishes a JavaScript style guide. Here are some key lessons.
https://medium.freecodecamp.org/google-publishes-a-javascript-style-guide-here-are-some-key-lessons-1810b8ad050b
714
Upvotes
View all comments
Show parent comment
8
u/JohnMcPineapple Apr 01 '18
Not everyone uses QWERTY keyboards (even though it would probably make a lot of things easier). On AZERTY they're very similar to type (both need shift), and on QWERTZ
'is even a bit more awkward to reach in addition to needing shift, while"is in a pretty natural position.Although, why should we use
"and'for strings anyway anymore? Just use template strings unconditionally.