gofumpt and gofmt are the best. One of the reasons if I have a choice I’ll code in go. I heard rumblings that rust was working towards having rustfmt be a standard crate.
Go is in a good position, yeah. JavaScript has prettier, which is nice. Java has google-java-format. Python has ruff, which is quite good. Kotlin has ktfmt, which I believe made a mistake with their standards by not following the standard formatting guidelines for the language, but whatever. Uniform and deterministic for the win.
gofumpt
andgofmt
are the best. One of the reasons if I have a choice I’ll code in go. I heard rumblings that rust was working towards having rustfmt be a standard crate.Go is in a good position, yeah. JavaScript has
prettier
, which is nice. Java hasgoogle-java-format
. Python hasruff
, which is quite good. Kotlin hasktfmt
, which I believe made a mistake with their standards by not following the standard formatting guidelines for the language, but whatever. Uniform and deterministic for the win.What do you mean? rustfmt is the de facto standard and is easily run using
cargo fmt
. Most projects use it along with clippy, the standard linter.