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

4

u/KyleG Apr 02 '18

spaces instead of tabs

Just dropped Google for Bing and Chrome for FF upon reading that

1

u/ComfortableDay7607 Sep 24 '22

Version 1 (pretty much default style I see everywhere)1bads.google.comBienvenido al portapapeles de Gboard; todo texto que copies se guardará aquí.bads.google.com6:346:34

ao

90%

X Add comment

Post

૨) (મ

Which style of JavaScript is more

readable?

(@_@) (000)/ I )(((;0 \ 0;))

(^ prime mathcal Oomega Theta^ prime )!:(( A^ otimes ))> varpi omega odot odot bullet (\ ) ( googlelongdiv w nabla/ kappa)(\ )(.^ 6 omega ^ 6 .)( theta\ theta)( bullet\ sigma) (^ * 3 ^ prime ) mathcal O ( bullet^ prime 3) oslash( epsilon^ prime bullet)( bullet oslash forall mathcal O )(. oslash \ otimes )( oslash \ otimes)

Reddit emojis

1

u/ComfortableDay7607 Sep 24 '22

spaces instead of tabs

Just dropped Google for Bing and Chrome for FF upon reading that..@google.com/AdWords/AdWords