O'Reilly logo
  • Jessica Canepa thinks this is interesting:

First, print out the code you want to understand. Yes, print it out, because your eyes and brain are more used to reading paper than computer screens. Make sure you only print a few pages at a time.

Second, go through your printout and make note of the following:

1. Functions and what they do.

2. Where each variable is first given a value.

3. Any variables with the same names in different parts of the program. These may be trouble later.

4. Any if-statements without else cla...