Re:Half a million lines of Go
by Intermernet on Monday May 17, 2021 @04:36AM
(#27181257)
There's obviously more to style than code formatting, but yeah, every Go codebase should rely on gofmt. I'd go so far to say that every language should have an equivalent to gofmt. There are so many advantages, the least of which is eliminating meaningless diffs in git where (for example) one person used spaces and put a new line before the opening brace of a function, while the other person used tabs and put the opening brace on the same line as the function definition. That drives me crazy in other languages!
[ Parent
| on HN ]
There are no comments on this comment yet.