logoalt Hacker News

grey-area11/08/20242 repliesview on HN

And so that people (of any level) don't bikeshed over silly things like tabs and spaces or { and newlines.

I really like this about go - that it formats code for you, and miss it in other languages where we have linters but not formatters, which is a terrible idea IMO.


Replies

umanwizard11/08/2024

What mainstream languages don’t have formatters nowadays? Rust has rustfmt, C and related languages have clang-tidy, python has Black…

show 1 reply
mistrial911/08/2024

that's your preference but not universal

show 1 reply