Coding Standards
Summary : Documents the coding standards and conventions for DasBlog. This topic is very much in the works and under discussion as of 1/19/2004
Project Structure
· All files for a particular namespace should be in their own folder.
· A single project can contain multiple namespaces assuming the above rule is followed.
Naming conventions
· Local variables will be in camelCase with no prefix such as underscore.
· Fields (member variables) will begin with an underscore and then follow the camelCase convention. All non-private fields will be wrapped with properties.
o shouldn't we use the "When in Rome" philosphy here? Some files use underscore, some just use camelCase, some use this.fieldName. -- OmarShahine
o I think we should change it where we can. Without this convention, it can get mighty confusing in there. -- MichaelEarls
· All non-private members will use PascalCase
Class Members
· There shall be no public fields unless the entire class is used for XML serialization and contains no code.