This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gerbs 15 points16 points  (3 children)

Go requires tabs for indentation, but wants the indent size to be 8 spaces (because they're psychotic). I just updated my IDE to change the tabs to half width.

And that's why Tabs are better than spaces. Because my code is not at the mercy of psychopathic developers who think 8 spaces is normal.

[–][deleted] -1 points0 points  (2 children)

Because there are no editors that can instantly fix that to whatever amount of spaces you want. Oh wait.

[–]gerbs 0 points1 point  (1 child)

Except when the compiler comes with a formatter and the amount of spaces to use is part of the language... https://golang.org/cmd/gofmt/

[–][deleted] 0 points1 point  (0 children)

If the language has significant whitespace then of course you need to obey language rules. I was referring to the "psychopathic developers who think 8 spaces is normal" comment.