Math 300: Ideas of Programming (back to Math 300 notes)

In this class we are learning that Mathematicians can make good use of small programs to perform repetitive tasks. Writing these is not intuitive for everyone. Here are some ideas to use when you work on yours.

  1. Write small chunks, then test. Rinse, repeat.
  2. Use the KISS principle.
  3. Print out intermediate variable values to check your work.
  4. Test, then test some more.
  5. Did I mention that testing goes hand in hand with programming?