Cook Computing

MS Internal Coding Guidelines

January 28, 2005 Written by Charles Cook

The Internal Coding Guidelines posted by Brad Abrams are very similar to the style I prefer. Perhaps the main difference is that I use an underscore prefix for member variables, although I've never been completely happy with this. It has the advantage of distinguishing members from locals and parameters but it does have a slighly unpleasant whiff of kludginess about it. On the other hand using the this.member convention adds to verbosity (but does bring intellisense into play which can save some typing).