Coding Guidelines
We are lucky to have a client that is tech savvy. And most of the times our code is being reviewed by their tech architects. Most of the times we get reviewed our code on a frequent time intervals. On one side it is good, on the other side it leaves our developers with some morel loss. Adding to the fuel, is me. I insist my developers to follow certain standards within their code. It is time to post the general points that I emphasize. 1) Use long names for variables 2) Initialize variables at the time of declaration 3) Use .Equals instead of == 4) Use territory operator ?: 5) Use ?? when expecting the null reference 6) Use .Length() comparison to validate string with values 7) Use StringBulder instead of strings concatenation 8) Use StringBuilder replace instead of string (Ref : http://dotnetperls.com/replace-string-use) 9) ...