News for hackers. Stuff that matters.
Re:Facebook Go Libraries by _ak on Thursday November 13, 2014 @01:08PM (#8602981)
Why? n spaces encode a specific preference for indentation, while tabs just represent a level of indentation. How many columns these actually are is entirely up to personal preference and editor configuration. That's why tabs are always superior for indentation.
Re:Facebook Go Libraries by andrewprock on Thursday November 13, 2014 @02:38PM (#8603574)
It's actually quite a bit more subtle than that. Even `go fmt` uses tabs to format indentation, but uses spaces to format alignment. This is distinct from mechanical typewriters which used variably sized tab-stops to handle tab alignment.