Back to TeachScheme! workshop
Back to Recipes
Design recipe for Scheme programs, version 1
(or functions in most other languages, for that matter!)
Analysis and design
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
Coding
Write the function's
Skeleton
Fill in the
Function Body
Testing & Debugging
Testing
Last modified: Tue Jan 14 15:31:46 EST 2003
Stephen Bloch /
sbloch@adelphi.edu