Defensive Programming

When writing code,TRUST NO ONE:
– Users accidentally giving bogus input or operating the program incorrectly.
– Client’s admins might change the configuration files or updates you DBs manually.
– Teammates might call your code with the wrong parameters or inconsistent input.
– The operating environment or External libraries failing to provide adequate service to the program.
This is called “Defensive Programming”

Bookmark the permalink.

Comments are closed