Files
exercises-in-programming-style/21-defensive/README.md
crista b6ec4786b8 Update README.md
Better wording for constraints
2013-11-30 21:42:44 -08:00

19 lines
454 B
Markdown

Style #20
==============================
Constraints:
- Every single procedure and function checks the sanity of its
arguments and either returns something sensible when the arguments
are unreasonable or assigns them reasonable values
- All code blocks check for possible errors and escape the block
when things go wrong, setting the state to something reasonable
Possible names:
- Defensive
- Realistic
- Hopeful
- Shit happens, life goes on