After getting so used to gofmt-on-save (err, rather goimports-on-save now), I find it very odd when I edit other file types and nothing happens to the obvious mis-formatting when I save. So I'm a big supporter of any new formats coming out in the future to come with some sort of similar automated formatter tool.
One important aspect that allows gofmt to succeed with effectively full adoption is that it still allows for (limited, but nice looking) custom formatting. If you want an extra newline between two lines, it will be preserved. It gives enough freedom that always having it on is quite acceptable.
https://news.ycombinator.com/item?id=7724159
After getting so used to gofmt-on-save (err, rather goimports-on-save now), I find it very odd when I edit other file types and nothing happens to the obvious mis-formatting when I save. So I'm a big supporter of any new formats coming out in the future to come with some sort of similar automated formatter tool.
One important aspect that allows gofmt to succeed with effectively full adoption is that it still allows for (limited, but nice looking) custom formatting. If you want an extra newline between two lines, it will be preserved. It gives enough freedom that always having it on is quite acceptable.