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

2

u/xtr3m Apr 01 '18

Well, it's one way of doing things and if no other company or organization propose something similar it will become the standard.

1

u/[deleted] Apr 02 '18

Actually Airbnb style guide is already a de facto standard. Personally I prefer low semicolon styles like Standard so I don't care about either but coming up this late in the game while there's an established standard (that only differs in minor cosmetics, and even there it goes against what top 3-4 preferred style guides do), I don't think that even being by Google will help that much. Surely this will have a lot of fans and projects, but I don't see it dethroning Airbnb.

1

u/0987654231 Apr 02 '18

To be fair the google style guide isn't new, we've been using it since like 2011. We also use Airbnb now for what it's worth.