Design Recipes

Program Design in a Nutshell: 1)

 The design recipe for functions/methods:

If every function produces a new value, the result, then the entire design process is very straightforward:

To test methods that change state (have side effects) you have to do the following:

More design recipes will be added as needed...

1) adapted and used with permission from Viera Proulx