3 ms·
That's also hazardous when you later add an_even_longer_variable and then have to modify three extra lines to make them align.
by zbjornson 10y ago
That's also hazardous when you later add an_even_longer_variable and then have to modify three extra lines to make them align.
- spinningarrow 10y agoExactly. To be fair, I believe most popular editors have plugins/shortcuts to do this. Or at least I hope people aren't doing this manually.
- dkuntz2 10y agoBut if anyone looks at a diff, it looks like all the lines have changed, instead of just one, taking just a tiny bit more cognitive overhead.
- citrusx 10y ago`git diff -w`
- tnorthcutt 10y agoBut `git blame` still sees the whitespace change, right? Edit: turns out `git blame -w` works as expected, ignoring whitespace. The More You Know™