Validation, Checking that input data is sensible and within allowed rules, Authentication, Verifying a user’s identity (e.g. username and password), TryExcept, Code that handles errors without crashing the program, Range Check, Ensuring a value falls between a minimum and maximum, Robust, Able to handle unexpected input or situations, Length Check, Ensuring input is not too short or too long, Testing, Checking a program works as intended, including invalid data, Type Check, Making sure data is the correct data type, Authorisation, Controlling what a user is allowed to access or do, Presence Check, Ensuring required data is not left blank, Maintainability, How easy a program is to understand, update, and fix in the future, Naming Convention, A consistent way of naming variables, constants, and functions, Indentation, Spacing used to show the structure of code and which statements belong together, Comments, Notes added to code to explain what it does for humans

Defensive Design

by

Leaderboard

Visual style

Options

Switch template

Continue editing: ?