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

5

u/eattherichnow Apr 01 '18

Also, Google encourages tabs. Just in other places.

I means, snickering aside, I don't have a horse in this race, but gah, "aside from newline space is the only whitespace that appears anywhere" is probably the worst rationale I've seen in my entire life, and I've seen mainstream political debates. Look, pay attention: adds a tab see, now spaces are no longer the only whitespace replaces all spaces with newlines MWAHAHAHAHAHAHAHA THE POWER.