Mapa mental
Producing robust programs (defensive design)
Contenido del mapa
Producing robust programs (defensive design)
produce - to make
robust - won't break
defensive design - helps make the program more robust
- protection against unexpected user inputs
- e.g. numbers or emojis instead of letters
- Validation and validation checks
- sensible and reasonable
- e.g. type, length, format, range check
- letters only
- min 1 length
- max 2 length
- pattern
- maintainability
- reducing the chance of introducing coding mistakes/bugs
- adding comments
- pinpoint errors and explain what each line should be doing
- indentation
- formatting
- clear and less likely to make a mistake, easier to read
- adding comments
- reducing the chance of introducing coding mistakes/bugs
- minimising/removing bugs
- protection against unexpected user inputs
Testing
- a program functions as it was designed and meets the need of the user
- iterative testing
- final testing
- tested as a whole
- repeated testing
- final testing
valid, invalid, borderline data
authentication
- have to have usernames/passwords
- access rights
Información
- Descripción
- Mapa Mental sobre Producing robust programs (defensive design), creado por Daniel Hazelwood el 22/11/2022.
- Creado por
- Daniel Hazelwood
- Visitas
- 1
- Valoración