1. Handle unexpected conditions
2. Process external systems data properly
3. Test your code
4. Monitor your site errors and act upon them
5. Do not disclose errors to the users
6. Damage control
7. Backup
8. Do what you can as you can never get defensive enough
* Recommended reading
http://en.wikipedia.org/wiki/Defensive_programming
http://gettingreal.37signals.com/ch09_Get_Defensive.php
2. Process external systems data properly
3. Test your code
4. Monitor your site errors and act upon them
5. Do not disclose errors to the users
6. Damage control
7. Backup
8. Do what you can as you can never get defensive enough
* Recommended reading
http://en.wikipedia.org/wiki/Defensive_programming
http://gettingreal.37signals.com/ch09_Get_Defensive.php
0 comments:
Post a Comment