Design recipe for Scheme programs, version 1

(or functions in most other languages, for that matter!)

    Analysis and design (i.e. "decide what you want to do")

  1. Understand the assignment informally
  2. Write a function contract, specifying what kind of information goes in and what kind comes out
  3. Write examples of how your function will be used, with correct answers
  4. Implementation ("do it")

  5. Write the function's Skeleton
  6. Write an Inventory of available expressions
  7. Fill in the Function Body
  8. Correctness checking ("check that you did it right")

  9. Testing and debugging

For the next elaboration of this, see version 2.


Last modified: Tue Jan 12 13:06:01 EST 2010
Stephen Bloch / sbloch@adelphi.edu