Mind map
Defensive Design
Map content
Defensive Design
Defensive Design helps to ensure programs function properly
- When programs are functioning correctly they should never break and never produce errors.
- In practice this is difficult to achieve - even the biggest software companies need to update and patch their programs regularly.
Programmers try to protect their programs through defensive design - they will try to:
- Anticipate how users might misuse their program, then attempt to prevent it from happening.
- Ensure their code is well maintained
- Reduce the number of errors in the code through testing.
Make sure the Inputs can't be Exploited
- The easiest way for a user to accidentally of intentionally misuse a program is when entering data.
- There are two ways thatyou can prevent users from entering something you don't want them to:
- Input Sanitisation: removing any unwanted characters before passing data through the program
Information
- Description
- GCSE Computing Mind Map on Defensive Design, created by Sean Karikoga on 27/06/2019.
- Created by
- Sean Karikoga
- Views
- 0
- Rating
More on Robust Programming and Testing