Methodology, IV:
Summary
To recap, here are the main steps involved in designing a function:
- Understand your data
- Fix the data definitions (since everything else will depend on
it)
- Construct examples of the data
- Name and Conquer: write down the name of the function and its
arguments; make sure you know what kind of value each argument will
hold
- Construct the function's template from the data definition
- Annotate any possibilities for procedural re-use
- Write examples of the desired behavior of the function
- Fill in the blanks!
PLT /
scheme@cs.rice.edu
Last modified at 10:48:58 CST on Monday, November 10, 1997