Defensive Programming
Steven
Zeil
July 22,
2013
Defensive Programming
Defensive programming is an
approach to coding based on minimizing assumptions made by the
programmer.
- Assumes that things will go wrong
- Tries to predict and allow for likely
problems
[]