Defensive programming: Difference between revisions

Content deleted Content added
Added intro definition
No edit summary
Line 14:
You should never use functions like <tt>gets</tt> and <tt>scanf</tt>.
* Never make your code more complex than necessary. Complexity breeds bugs, including security problems.
* Either leave your code available to everyone on the Net (see [[Free software]] or [[open source software]])
or hire someone who will do [[security audit]] for you.
* If possible, reuse code instead of writing from scratch.