Friday, December 3, 2010

Defensive Programming

Defensive Programming - Server/Supplier (not Client) figures out what to do when a precondition is broken.

This is not a principle; it is a method.

References:
Rogers, Lawrence R., rlogin(1): The Untold Story, TECHNICAL REPORT CMU/SEI-98-TR-017 ESC-TR-98-017
http://en.wikipedia.org/wiki/Defensive_programming

No comments:

Post a Comment