News for hackers. Stuff that matters.
Re:Rob Pike: Go at Google by todd3834 on Saturday October 27, 2012 @01:50PM (#4706713)
I agree that they are among the smartest people for the job and that is why I am so surprised (and annoyed) that they choose tabs over spaces.

If for no other reason than that I have to have a different .vimrc file for my go programs than literally everything else.

Re:Rob Pike: Go at Google by meaty on Saturday October 27, 2012 @02:39PM (#4706839)
Perhaps they're right and you're wrong?

Tabs are used for tabulating stuff. Spaces are used for spacing stuff. Indentation is a form of tabulation, so use tabs. Similarly to when you use a word processor, do you hold space down for long enough to center your text or do you use the "center" alignment? Right tools for the right job.

Hell it's not exactly hard to fix in vim either - just load the provided vim extensions as per the instructions and it just works without screwing up the rest of your configuration.

The amount of time I've had to spend dredging through fucked up merges where someone has added 5 or 3 spaces to the start of the line instead of 4 gives credence to why you should use tabs as the tab means "indented one level" rather than "n spaces depending on how the user or editor fucked up the file".

Anyway, rant over - sorry.

Re:Rob Pike: Go at Google by aaronblohowiak on Saturday October 27, 2012 @04:06PM (#4707090)
tabs mean you and i can vary in how our editor displays the text -- this is the simplest form of separation of style from content.
Re:Rob Pike: Go at Google by Evbn on Saturday October 27, 2012 @02:47PM (#4706858)
Lucky for you, they wrote a ftplugin for you.