This tip submitted by VOX on 2004-12-31 10:43:03. It has been viewed 51567 times.
Rating of 5.9 with 262 votes

Make comments in your code often. Not only does it help people who are trying to help you understand it more, when you come back later, you'll be able to pick up where you left off and edit much faster. Fore example:
int start; /*the start flag for the game loop*/

Use either // or /* depending on your compiler and language.

You can read more here about writing writing better comments.

More tips

Help your fellow programmers! Add a tip!