I have been working on C# coding guidelines since 2003 and have recently published free guidelines for C# 3.0. Check it out at http://www.dennisdoomen.net/2009/03/new-coding-guidelines-for-c-30.html
We use StyleCop to check the coding guidelines (style) and FxCop to check basic design guidelines.
We think that only with tool support, the guidelines can be followed. If the guidelines are just "Paper" then there will be a lot of violations (by will or not) and you would have to make code reviews to check the basic guidelines. I prefer that code reviews consider higher goals than just style of coding.
3 comments:
I have been working on C# coding guidelines since 2003 and have recently published free guidelines for C# 3.0. Check it out at http://www.dennisdoomen.net/2009/03/new-coding-guidelines-for-c-30.html
Thanks Dennis for that link!
We use StyleCop to check the coding guidelines (style) and FxCop to check basic design guidelines.
We think that only with tool support, the guidelines can be followed. If the guidelines are just "Paper" then there will be a lot of violations (by will or not) and you would have to make code reviews to check the basic guidelines. I prefer that code reviews consider higher goals than just style of coding.
Post a Comment