Skip to main content

Posts

Showing posts from 2014

Best Programming Practices

1.     Naming Conventions and Standards Note : The terms Pascal Casing and Camel Casing are used throughout this document. Pascal Casing - First character of all words are Upper Case and other characters are lower case. Example: B ack C olor Camel Casing - First character of all words, except the first word are Upper Case and other characters are lower case. Example: b ack C olor 1.      Use Pascal casing for Class names public class HelloWorld {        ... } 2.      Use Pascal casing for Method names void SayHello (string name) {        ... } 3.      Use Camel casing for variables and method parameters int totalCount = 0; void SayHello(string name) {        string fullMessage = "Hello " + name;        ... } 4.      Use the prefix “I” with Camel Casing for interfaces ( Example: IEntity ) 5.      Do not use Hungarian notation to name variables . In earlier days most of the progr