View Full Version : coding standards ? ;)
Pr⊕phet
04-09-2008, 03:31 PM
so any one read a few docs on them ?
heres a very long one i have found for c# http://www.idesign.net/idesign/download/IDesign%20CSharp%20Coding%20Standard.zip
Deicide
04-09-2008, 06:07 PM
We use similar sort of standards. Although standards are a very debatable topic. in most cases the developers should get together thrash out a set of standards based on a document like the one above but that is suited for them. Main thing is that the development team know and enforce their standards not just have it for the sake of having it. My opinion anyway...
MielieSpoor
05-09-2008, 08:42 AM
We are using StyleCop from Microsoft. It integrates into Visual Studio and you can also integrate it into your build with MSBuild.
What's nice is that you can create your own rules and specify alot of settings.
StyleCop Home (http://blogs.msdn.com/sourceanalysis/)
I'm using it for all the development I'm doing at home also
Pr⊕phet
05-09-2008, 09:34 AM
We use similar sort of standards. Although standards are a very debatable topic. in most cases the developers should get together thrash out a set of standards based on a document like the one above but that is suited for them. Main thing is that the development team know and enforce their standards not just have it for the sake of having it. My opinion anyway...
trust me, i used to work in a unit where every one used his own standard and that was chaos to say in the least when it came to maintenance and obviously you can imagine when multiple persons worked on one project. Though currently where i am now we all using one standard we agreed upon and that makes a big difference compared to the mentioned above.
not only is readability improved, but when you need to do maintenance its allot easier as to having 5 or more different styles in side a class(es).
Raithlin
05-09-2008, 10:52 AM
Funny you should mention that. The team I'm on is about to start a new project, and we're currently hammering out our own standards base. I'll check out your link.
We're basing our standards on BP&P found out there...
Pr⊕phet
19-09-2008, 08:07 AM
another white paper on this ;)
http://www.c-sharpcorner.com/UploadFile/poolamu/dotnetbestpractices09162008070218AM/dotnetbestpractices.aspx
Turiko
19-09-2008, 12:28 PM
Standards are on thing, in my experience I've experienced this standards things as a office politics tool used by beneficiaires of nepotism.
Pr⊕phet
19-09-2008, 01:05 PM
Standards are on thing, in my experience I've experienced this standards things as a office politics tool used by beneficiaires of nepotism.
:D
'standards' beats monkey code...