News for hackers. Stuff that matters.
Re:Tabs or Spaces? The Top Starred Repositories in GitHub An... by freshhawk on Sunday December 27, 2015 @02:53PM (#10798531)
But I have seen a solution to this problem, back in subversion days. With help from perl-tidy and php-tidy.

Pre commit hooks, combined with an appropriate *-tidy program for your language. Code is formatted according to the repo tidy config with a pre-commit hook and formatted according to the developers preference on checkout.

I'm missing why whitespace style mapping is not a bijection, you do have to accept some limits to code style in terms of completely rigid indentation rules, and it is obviously language specific. But it seems to be a bijection to me, what am I missing?

There are no comments on this comment yet.