Design recipe for Scheme programs, version 2
(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
- Analyze the data types going in and
out
- Write examples of how your
function will be used, with correct answers
Implementation ("do it")
- Write the function's Skeleton
- Choose and use an appropriate Template
- Fill in the Function Body
Correctness checking ("check that you did it right")
- Proofreading
- Syntax checking
- Testing and debugging
For the next elaboration of this, see version 3.
Last modified:
Mon Sep 15 13:39:26 EDT 2003
Stephen Bloch / sbloch@adelphi.edu