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

0

u/Bettina88 Apr 01 '18

So what's the purpose of this guide? If I use tabs because I like to use tabs in my own fucking code that no one else needs to see will Google demote me in the SERPs?

5

u/[deleted] Apr 01 '18

Your team picks a style guide to follow, everyone follows it, your devs don't spend an ungodly amount of time arguing over pointless things like space vs tabs (see: Bikeshedding).

If you're working on your own stuff then you can do whatever makes you happy.

→ More replies (3)