Coding Style Guidelines

- Don’t use tabs

Use a 4-space indent instead. Before you start writing code, make sure you enable your editor’s "map tabs to spaces" feature. In MSDEV, you can find this option by clicking "tools"=>"options"=>"tabs."

- Don’t use standard C runtime library functions

We’ve got internal API’s for everything. So if you’re about to type "strcmp" ask your mentor or someone else what to use instead.

- Use Hungarian prefix notation when naming variables

Any Windows programming book (e.g. Petzold’s Programming Windows 95) should have a discussion of this naming convention. Or you can just look around in the IE code base for examples.

- Miscellaneous

Put a space between "if" and "(". Put a space between "switch" and "(". Don’t put a space between "foo" and "(".