Hacker News new | ask | show | jobs
by pcwalton 3039 days ago
> The problem gofmt solves is not "how do we allow you to style Go code", but more specifically, the problem it solves is "how do we encourage the community to adhere to one style of code for Go?" And it is successful in that. It is obviously unsuccessful in applying a style that you find aesthetically pleasing—alas!

It's not successful if everyone puts line breaks in different places. By punting on that problem, gofmt isn't enforcing one style of code.