Incremental Development
- It can be difficult to write an entire program to meet a large set
of requirements at once
- An easier approach is to select a subset of requirements, write and debug
an incomplete program, and then implement more and more requirements
- Gradebook:
- Implement requirements 1 and 5 (add students; display table)
- Add requirement 2 (add assignment grades)
- Add requirement 3 and part of 4 (student and assignment averages)
- Finish requirement 4 (minimum, maximum, median)
- Add requirement 6 (printing)
- Web browser:
- Implement requirement 1 only (load a page from URL)
- Add requirement 3 (time out if server is unresponsive)
- Add stop button (most of requirement 2)
- Finish requirement 2; add 4, 5, and 6 (Forward and Back buttons)
- What might be good increments for the paragraph justifier?
- How about the window manager?
(next)