Mindmap
Producing robust programs (defensive design)
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am Producing robust programs (defensive design), erstellt von Daniel Hazelwood am 22/11/2022.
- Erstellt von
- Daniel Hazelwood
- Aufrufe
- 1
- Bewertung