Defensive Programming

Defensive Programming states that no one should be trusted in the development even yourself. It is to ensure the low number of bugs, high comprehensibility of the codebase and predictable software output even there are unexpected inputs or user actions.

There are several mechanisms that aid in Defensive Programming:

Links to this page
#debugging