Re:Rob Pike: Simplicity Is Complicated [video]
by bjwbell on Thursday December 03, 2015 @01:27PM
(#10671513)
You're right, the comparison isn't as valid as I thought, rustfmt has improved impressively since I looked at it last. 'go fix' might be a better comparison, what's the Rust equivalent?
Re:Rob Pike: Simplicity Is Complicated [video]
by steveklabnik on Thursday December 03, 2015 @01:54PM
(#10671688)
We don't make breaking changes anymore, so the need for such a thing hasn't been enough for anyone to bother making it.
The extra stuff that rustfmt does stems from the fact that rustfmt wants to aesthetically format code well, matching the style that the community had settled on prior to its introduction (e.g. avoiding long lines, lining up parameters), while gofmt is fine with less aesthetically pleasing code (long lines, all parameters on one line) as long as the implementation of gofmt remains simple. There's nothing stopping anyone from implementing a bare-bones rustfmt in the style of gofmt and trying to push its style onto the community, but Nick had different goals.