Plan then zoom

A theme in this course is reducing programming's cognitive complexity. Make programs easy to think about. Indenting, variable naming, other things, contribute to this.

Decomposition helps. A lot. Break a program into pieces, and work on the pieces individually. Functions make this work.

So:

  • Plan the program first, leaving the deets for later.
  • Zoom in on the pieces. Do them one at a time.