Microsoft Coding Guidelines

Brad Abrams posted Microsoft’s Internal Coding Guidelines.

This is a good read! I’d agree with most everything there. I see a lot of Microsoft code and it sure is good to have consistancy. One thing I differ with, is that personally, I really like not using braces {} for single command blocks (ex: if (x == 2) return false;). When grouping simular members, instead of just // comments, I use #region directives (ex: #region Property Variables … #endregion).

Thanks to Jeffrey Palermo for posting about this.

One thought on “Microsoft Coding Guidelines

Leave a Reply

Your email address will not be published. Required fields are marked *