- Reduces the need for debugging
- Forces a clear formulation of program objectives
- Makes reusing software easier
- Commercial imperatives
The subset of our analysis are Pieces of Code - a self contained program (here written as pseudo-code), which acts as a function on its inputs. We assume this pseudo-code is made up of:
- Usual arithmetic operators and library functions (eg , , etc)
- if-then and if-then-else constructs
- The while construct
Note:
- No type declarations (use context)
- No input/output statements
David Goodwin
2008-09-20