Questions for reviewing Computer Coding

  1. Does the source code properly reflect the design's intent?

  2. Are data structures implemented properly?

  3. Have operators been used conectly? That is, have we used a"+" sign where we meant to use a "*" sign?

  4. Are all loops and logical tests nested properly?

  5. Do we have a proper escape mechanism for all loops? That is have we ensured against an infinite loop?

  6. Have all variables been assigned explicit data types? Are inconsistent data types combined in an inappropriate manner?

  7. Have meaningful variable names been chosen?

  8. Does a module prologue exist? Is it complete?

  9. Do comments add to the understanding of the source code rather parroting the code?

  10. Is the layout (e.g., comments, indentation, white space) of the code conducive to good readability?

Each of the QUESTIONS should be applied to the code for every module.

End to date, ams 990705