3 ms·
No, Fitz is not advocating tabs over spaces in coding. He is saying gofmt loses a large part of its purpose if it does not enforce a particular style, and the
by libria 12y ago
No, Fitz is not advocating tabs over spaces in coding. He is saying gofmt loses a large part of its purpose if it does not enforce a particular style, and the Go devs happen to prefer tabs.
It sounds like he's fine w/ anyone using a tool to format by spaces.
That said, this is quite un-newsworthy.
- gmjosack 12y agoI'd say it's newsworthy to large Go shops that use spaces with gofmt and now have to change indentation in their repos. This isn't insignificant. Also it requires additional flags for things like blame/diff to ignore whitespace changes.
- f2f 12y agono such large go shops exist.
- gmjosack 12y agoIs it that unbelievable to you that a company that previously used other languages with spaces for indentation would desire to have a consistent indentation policy, especially considering that up until now the tooling supported such desires?
- jamwt 12y agoOooh yes they do. GP and I both happen to work for one. :-)