3 ms·
Could you expand on why you don't like to use an auto-formatter? I'm genuinely curious. I'm pretty addicted to them; they add consistency without me having to
by vanderZwan 10y ago
Could you expand on why you don't like to use an auto-formatter? I'm genuinely curious.
I'm pretty addicted to them; they add consistency without me having to think about it (killing off bike-shedding in the process), and in practice it works a bit like a visual semi-linter: if the auto-formatting doesn't produce the expected pattern (and your mind very quickly picks up the pattern subconsciously), it usually means there's a bug in the code somewhere around the area where it goes wrong.
- rejschaap 10y agoI do like to use auto-formatters, but sometimes they are not available. For instance, until recently I didn't have anything for rust-lang. But rustfmt is pretty good now and VS code has good support for rust-lang through the RustyCode extension.