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 comments

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.

0

u/TracerBulletX Apr 01 '18

I prefer spaces, and I think this is probably the reasoning some other people do to, because having only one type of white space character simplifies things a little.

1

u/the_friendly_dildo Apr 02 '18

Not pulling my hair out over it but in my preference to tabs, it sucks opening a code example only to be staring at what I consider an overly compact mess. So to even start reading it, I'll go through the trouble of reformatting it just so I can read it. Or maybe I'll say fuck it and look elsewhere. Now it sucks for the sap that wrote the code to begin with since he'll have one less person looking at and using their code.

-10

u/the_argus Apr 01 '18

0

u/Mingli91 Apr 01 '18

?

-7

u/the_argus Apr 01 '18

?

1

u/Mingli91 Apr 01 '18

Do you not actually have a reason for feeling so strongly about tabs v spaces or are you being intentionally obtuse?

-7

u/the_argus Apr 01 '18

What I'm saying is the fact that people can't understand the concept of tabs is so crazy to me that it is like I'm pulling my own hair out mad. I really don't give a shit until I have to edit a file with two space unreadable indentation.

4

u/sobri909 Apr 01 '18

It’s understood just fine. We just don’t like it.

Your reasons for liking tabs are not convincing to us.

1

u/Mingli91 Apr 01 '18

Nobody actually thought you were pulling your hair out. What makes using tabs so important to you?

-2

u/the_argus Apr 01 '18

Could have fooled me, y'all can't even figure out the obvious benfits of tabs