Microsoft Coding Guidelines

Published Sat, Feb 19 2005 22:20 | coad

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.

Filed under:

Comments

# coad said on February 19, 2005 10:25 PM:

Wow. thanks for all the comments.

# TrackBack said on May 18, 2005 5:22 AM:

^_~,pretty good!csharpsseeoo

# TrackBack said on June 14, 2005 2:07 AM:

Microsoft Coding Guidelinesooeess