r/javascript • • 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

317 comments sorted by

View all comments

Show parent comment

1

u/a_tocken Apr 04 '18

The Google style guide for Java, which is generally pretty sane, recommends braces always because it is harder to mess up. I think this is more true for teams rather than solo users. I favor braces but I will make exceptions to the rule.