Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
scubbo
38 days ago
|
parent
|
context
|
favorite
| on:
Formatting code should be unnecessary
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
38 days ago
[–]
My only complaint about gofmt is that it’s not even stricter about some things.
duskwuff
38 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).
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: