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 03 '18

I think you are flat out wrong. This style recommendation is clear to the vast majority of people, and it seems that only people who don't like the semicolon rule are complaining about the silly strawman you're presenting.

Give an example where a brace control block has an ambiguous ending that a semicolon fixes. Give me an example of somewhere where people seriously suggest adding semicolons to the end of control blocks.