Answer

An important consideration in writing programs (especially large programs) is making it easy to make changes to the program. Suppose that you decided to change a program to use a better approximation to PI (say 3.14159). The way the program is currently written, you'd have to search for and change every occurrence of PI in the program.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu