The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
Best Regards, Kit Kai, MVP (SharePoint Portal Server)
Firedancer wrote:I usually follow what is recommended in MSDN. They have something on coding standards for .NET.
icelava wrote:type of commenting syntax to use in aspx pages. (I typically use ) order of code-behind code (e.g page event handlers, custom handlers, protected properties, custom interface methods....) where to position curly braces. (yes) is omission of curly braces for one-line scope permissible (useful). order of namespaces, members, etc. (e.g. properties private, then protected, then public, then constructor, then events, then sub-classes....) useful region categories. spacing between operators and operands. breaking of methods with long parameter signatures. and many more...
I used to have a manager who controls me like that. At one point in time, I thought it was a good thing to do. However, I don't think that is a good thing to do anymore because the objective of the developer is to develop the solution and not pass-up a beautifully formatted assignment paper.
As long as they conform to some standards i.e. no hungarian notation, no d1, d2, d3 as variable names and etc., I will accept it. I would like my developers to have the freedom in organizing their code. Afterall, they are adults. For code that I would like it to be organized my way, I automate it with my framework.
Firedancer wrote: I used to have a manager who controls me like that. At one point in time, I thought it was a good thing to do. However, I don't think that is a good thing to do anymore because the objective of the developer is to develop the solution and not pass-up a beautifully formatted assignment paper.
Firedancer wrote:I used to have a manager who controls me like that. At one point in time, I thought it was a good thing to do. However, I don't think that is a good thing to do anymore because the objective of the developer is to develop the solution and not pass-up a beautifully formatted assignment paper.
icelava wrote: Firedancer wrote:I usually follow what is recommended in MSDN. They have something on coding standards for .NET.Those are design guidelines that are pretty much language agnostic. I am looking at language-specific standards, as well as code layout.Things like type of commenting syntax to use in aspx pages. (I typically use ) order of code-behind code (e.g page event handlers, custom handlers, protected properties, custom interface methods....) where to position curly braces. (yes) is omission of curly braces for one-line scope permissible (useful). order of namespaces, members, etc. (e.g. properties private, then protected, then public, then constructor, then events, then sub-classes....) useful region categories. spacing between operators and operands. breaking of methods with long parameter signatures. and many more...
I think your list is a bit overkill.
kitkai wrote:I think your list is a bit overkill.