homepage
Programming Maxims
     
  • Use prologue comments
  • Use directory comments in long programs
  • Comments should provide something extra -                                not just paraphrase the code
  • Indent comments the same amount as the code they refer to
  • Use good mnemonic names
  • Use blank spaves to improve readability
  • One statement per line is enough
  • Use identation to show program structure
  • Use identation to show data structure
  • Alphabetize lists
   
homepage