Comment on Tabs are objectively better than spaces - gomakethings.com
corytheboyd@kbin.social 9 months ago
I wish every language had a gofmt, this is such a non-debate (tabs are indentation, spaces are alignment)
Comment on Tabs are objectively better than spaces - gomakethings.com
corytheboyd@kbin.social 9 months ago
I wish every language had a gofmt, this is such a non-debate (tabs are indentation, spaces are alignment)
Asudox@lemmy.world 9 months ago
rustfmt
sekhat@lemmy.temporus.me 9 months ago
And over gofmt, rustfmt lets you set settings for the project. Keeps the code looking how I want, and contributers don’t have to care.
devnev@programming.dev 9 months ago
The absence of settings in gofmt is a feature. The kind of basic formatting it handles is not worth having opinions about.
sekhat@lemmy.temporus.me 9 months ago
Yet, I do. So, I like to enforce it.