Please enable JavaScript.
Coggle requires JavaScript to display documents.
producing robust programs - Coggle Diagram
producing robust programs
defensive design
authentication
Ensuring only authorized users access specific functions (passwords, user ID).
maintainability
Ensuring code is easy to maintain/update through indentation, comments, and descriptive variable names.
anticipating misue
Planning for how users might break the program (e.g., using rate limiting or Captcha).
sub-programs
Using procedures and functions to structure code, making it easier to debug and maintain.
input sanitisation
Modifying input to remove dangerous or unwanted characters.
input validation
Checking data is safe/appropriate (range, type, length, and presence checks).
Testing
testing types
Understanding Iterative Testing (during development) and Final/Terminal Testing (before release).
test data
Selecting valid, invalid, boundary, and erroneous data to test edge cases.
types of errors
Identifying Syntax Errors (incorrect rules) and Logic Errors (incorrect outcome).
refining algorithms
Ensuring code is robust from the design stage, such as transforming flowcharts into reliable Python code