Defensive programming: Difference between revisions

Content deleted Content added
No edit summary
Xehpuk (talk | contribs)
m typo
Line 10:
* Making the software behave in a predictable manner despite unexpected inputs or user actions.
 
Overly defensive programming, however, may safeguard against errors that will never be encountered, thus incurring run-time and maintenance costs. There is also a risk that code traps prevent too many [[Exception handling (programming)||exceptions]], potentially resulting in unnoticed, incorrect results.
 
== Secure programming ==