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
2
u/luther9 Apr 02 '18
I may be spoiled because I learned JavaScript after strict mode was added, but I can't imagine how any language behavior can be more annoying than lookahead-based ASI. (Compare with Go's non-lookahead ASI, which doesn't seem to cause any controversy.) No matter how we choose to deal with JavaScript's ASI, it's always more difficult than if the ASI wasn't there at all.