Join 36000+ teachers and students using TTIO.
Defensive Design Techniques
The purpose of defensive design is make sure, as far as possible, that a program runs correctly and continues to run no matter what actions a user takes. Planning for all possibilities (contingencies) is important as well as thinking about what a user may do that the program does not expect.
Defensive design encompasses three areas:
This anticipation and protection is done through: