Program as communication

Every program is an act of communication:

Questions to ask ourselves:

Comments

“;;” for the entire line of comment

“;” for part of the line


Design Recipe

The design recipe is a process for developing a function.

There are 3 main purposes:

  1. Writing it helps you understand the problem
  2. It helps you write understandable code
  3. It helps you write tested code so you have some confidence it does what it should