4 ms·
I mean sure, that’s true of every programming language. The reason to follow community standards is to make the lives of other people reading your code easier.
by Spivak 5y ago
I mean sure, that’s true of every programming language. The reason to follow community standards is to make the lives of other people reading your code easier. Consistency is far more important than any individual’s optimal style.
- dimitrios1 5y agoGod bless gofmt and tools like prettier.
- maleldil 5y agoPython has Black, which uses the same premise as gofmt. Guido doesn't like it, though, but the community seems to.
- dimitrios1 5y agoWhich brings up another point -- that's precisely the difference between having the format be essentially part of the language from day one, and shoehorning it in later. The utility of auto formatting comes from instantly eliminating the squabble and bikeshedding.