Programming Guidelines

Grading criteria

Here are some details of the last point.

External documentation
You can lose all credit if your code is not understandable from the written documentation. Good documentation will also convince the grader that you grasp the meaning of your solution (as opposed to having hacked it into working). The explanations should be direct and concise, not flowery or repetitive. Most programming assignments in this semester are simple and 3-4 lines should suffice to describe what they do.

Internal documentation


Naming conventions

Global variables
Try to avoid global variables: for this, use the methods you learn in the course to structure your program.