2 ms·
Well, you can't do that when reading code on github.com, for example. Even if I have the code checked out, I don't want to clutter my diff with hundreds of ref
by BurningFrog 10y ago
Well, you can't do that when reading code on github.com, for example.
Even if I have the code checked out, I don't want to clutter my diff with hundreds of reformatted lines just to read it.
It sounds like formatting isn't important for your code comprehension. That's nice for you, but for many of us, that's just not how our brains work.
- the8472 10y agoBut if you just shift the burden from yourself to someone else that's a zero-sum game, not an improvement. Instead a formatter should be applied via a commit hook and github should provide a what-if version of the pull request with the hooks applied.