Please enable JavaScript.
Coggle requires JavaScript to display documents.
defensive design (maintainability of code (indentation (this is important…
defensive design
maintainability of code
-
formatting
this is important because it splits the code up into blocks which also makes it more readable and easier to understand
comments
this is text amongst your code which is important because it makes the code understandable for both the programmer or the person they are going to give the code to
-
-
program errors
logic
program produces unexpected results, like an incorrect maths statement
run-time
extreme conditions occur, situation where it is to peform arithmetic which has an impossible answer
-
input sanitisation
-
for example, if a user is entering a password it may be sensible to strip out any spaces to avoid potential SQL injections
-
authentication
having passwords to only allow certain users and potentially limiting the access of the various parts of the system.
-
-
-
dry runs &trace tables
when errors are not easy to spot it helps to go through the test manually thats how we use dry runs and trace tables