News for hackers. Stuff that matters.
Re:Best Practices Exist For A Reason by DougWebb on Thursday May 03, 2012 @08:42AM (#3923564)
If you can express your style in a way a code-formatting tool can apply, then you can use checkout and commit hooks in your vcs to apply the formatting. Code in the repo gets a team-standard formatting, and code in your working copy gets your personal formatting. You just have to make sure the whole team uses the commit hook, at least. (Or in most systems you can apply that hook on your central/official repo.)

The only problem with this approach is the diffs between the repo and your working copy.

Re:Best Practices Exist For A Reason by Produce on Friday May 04, 2012 @03:55AM (#3927504)
Thanks for the tip, might try this out.