167
Tabs are objectively better than spaces - gomakethings.com
(gomakethings.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I wish every language had a gofmt, this is such a non-debate (tabs are indentation, spaces are alignment)
rustfmt
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.
The absence of settings in gofmt is a feature. The kind of basic formatting it handles is not worth having opinions about.
Yet, I do. So, I like to enforce it.