Remix.run Logo
scubbo 4 days ago

I disagree with almost every choice made by the Go language designers, but `Gofmt's style is no one's favorite, yet gofmt is everyone's favorite` is solid. Pick a not-unreasonable standard, enforce it, and move on to more important things.

spyspy 4 days ago | parent [-]

My only complaint about gofmt is that it’s not even stricter about some things.

duskwuff 4 days ago | parent [-]

Good news: there are tools like https://github.com/mvdan/gofumpt which fork gofmt and enforce stricter rules (while remaining invariant under gofmt).