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

32

u/the_argus Apr 01 '18

I'll never understand not using tabs for indentation... And even less so using 2 spaces instead of 4

7

u/bornforcode Apr 01 '18

So you know why I shared this article. I'm confused

19

u/the_argus Apr 01 '18

It literally blows my mind the opposition to tabs. Like I'm pulling my fucking hair out

17

u/Mingli91 Apr 01 '18

Why do you get worked up about something so pointless?

11

u/Omnicrola Apr 01 '18

I get that people have strong opinions, but I don't get it either. I really, really don't give a shit. My priority is consistency. Which means whatever my IDE does when I tell it to auto-format, that's fine. I have more productive things to focus on.

→ More replies (1)