3 ms·
It's been go-fmt that's converted me to this way of thinking. It's such a waste of time having a linter tell me after I've checked in code that I'm missing a sp
by rowanseymour 6y ago
It's been go-fmt that's converted me to this way of thinking. It's such a waste of time having a linter tell me after I've checked in code that I'm missing a space on line 123... please just add the space. Please let me and my colleagues never have to argue again about what is the right way to format something.
- FredrikMeyer 6y agoMany linters have built-in auto-fix features like what you describe. (eslint, for example)
- celticninja 6y agorubocop -a For the win.
- reledi 6y agoNot the same experience as some of the best formatters out there. RoboCop is too configurable and too slow.
- halostatue 6y agoIt would be nice if Rubocop didn’t need as much customization as it does, because it promotes styles that violate everything I have done in my 18 years of writing Ruby. Some of its defaults? Fine, whatever. Others? They’re just _wrong_.
- unfunco 6y agoI feel the same, fmt is a productivity boon for me too. There was a good quote from Rob Pike in his Go proverbs talk: "Gofmt's style is nobody's favourite, but gofmt is everybody's favourite."
- deleted 6y ago[deleted]