CodeQualityAndReadability icon indicating copy to clipboard operation
CodeQualityAndReadability copied to clipboard

Article on combatting source code formatting erosion

Open kbilsted opened this issue 9 years ago • 0 comments

Fighting code formatting erosion

*Commit hooks

  • unit test style test
  • IDE style plugin
  • reformatting commits

////

Reformatting makes "blaming" more difficult, since possibly several commits in the history graph mush be skipped in order to filter away re-formatting commits. It becomes much harder to know when a line was introduced when trying to understand why it's there

kbilsted avatar Jul 19 '15 15:07 kbilsted