2 ms·
Almost all Go code you find on the web will be formatted the same. It removed some pain points when looking at someone else's code. It also complete removes the
by kyrra 11y ago
Almost all Go code you find on the web will be formatted the same. It removed some pain points when looking at someone else's code. It also complete removes the discussion about formatting during code reviews with team members. While you may not be opinionated on the matter, many people will learn a certain formatting style and stick with it. They then bring it to their new company and it can cause some minor conflict.
Gofmt helps remove that.
- spion 11y agoAny code reformatting tool helps remove that. Gofmt isn't the only code reformatting tool in existence.