4 ms·
But (at least for a long time), "run the linter automatically" wasn't available, not until Go's gofmt put the idea into people's heads that they could leave it
by Cthulhu_ 1y ago
But (at least for a long time), "run the linter automatically" wasn't available, not until Go's gofmt put the idea into people's heads that they could leave it to a tool. I think there were some formatting tools before then, but e.g. jslint/eslint had a lot of gaps which I unfortunately ended up pointing out in code reviews a lot. Which was nitpicking / bikeshedding, in hindsight.
- memset 1y agoInterestingly, for over 30 years, C has had “indent” https://www.gnu.org/software/indent/manual/indent.html https://www.gnu.org/software/indent/manual/indent.html
- psychoslave 1y agoWhat are the defaults, though, as not everyone seems to agree with GNU coding style? >First off, I’d suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, it’s a great symbolic gesture. https://www.kernel.org/doc/html/v4.10/process/coding-style.html https://www.kernel.org/doc/html/v4.10/process/coding-style.h...