defensive_programming
Defensive Programming
Return to Software engineering topics
“defensive programming - a term, sometimes (mis)used, to suggest generally good programming practice implies the use of defensive checks to, for example, detect client misuse of a given function, by violating its preconditions when invoking it. final (1024)” (EMCppSfe 2021)
“Defensive programming is a style of programming in which no assumptions are made about correct usage of the software. Hence, the software must build in many tests for error conditions, such as illegal input, or use exception handling to prevent improper usage from interrupting program execution.” (B00UANX0E0)
defensive_programming.txt · Last modified: 2024/05/01 04:25 by 127.0.0.1