News for hackers. Stuff that matters.
Re:Tabs or spaces – Parsing a 1B files among 14 programming ... by robgering on Wednesday August 31, 2016 @10:13AM (#12398422)
I've been learning Go in my spare time. One of the things that I've found really refreshing is how the enforced conventions largely eliminate contentious discussions like tabs vs spaces.

For those unfamiliar with Go, the gofmt tool[1] converts indentation to tabs, standardizes brace positioning, etc. Most editors have a plugin that will automatically run the tool on save. An option for programmers using other languages is EditorConfig[2].

[1] https://blog.golang.org/go-fmt-your-code

[2] http://editorconfig.org/

There are no comments on this comment yet.