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")
-
Understand the assignment
informally
- Write a function contract,
specifying what kind of information goes in and what kind comes out
- Write examples of how your
function will be used, with correct answers
Implementation ("do it")
- Write the function's Skeleton
- Fill in the Function Body
Correctness checking ("check that you did it right")
- Testing and debugging
For the next elaboration of this, see version 2.
Last modified:
Mon Sep 15 13:37:40 EDT 2003
Stephen Bloch / sbloch@adelphi.edu