Mapa mental
Defensive Design
Contenido del mapa
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
Información
- Descripción
- GCSE Computing Mapa Mental sobre Defensive Design, creado por Sean Karikoga el 27/06/2019.
- Creado por
- Sean Karikoga
- Visitas
- 0
- Valoración
Más sobre Robust Programming and Testing