From b6ec4786b8b062ffa7d73edc87ffc43f40fb465c Mon Sep 17 00:00:00 2001 From: crista Date: Sat, 30 Nov 2013 21:42:44 -0800 Subject: [PATCH] Update README.md Better wording for constraints --- 21-defensive/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/21-defensive/README.md b/21-defensive/README.md index 8e7cd5a..76f9457 100644 --- a/21-defensive/README.md +++ b/21-defensive/README.md @@ -7,11 +7,12 @@ Constraints: arguments and either returns something sensible when the arguments are unreasonable or assigns them reasonable values -- All code blocks check for all possible errors and escape the block - when things go wrong +- All code blocks check for possible errors and escape the block + when things go wrong, setting the state to something reasonable Possible names: - Defensive -- Pessimistic -- Never trust the caller nor the callee +- Realistic +- Hopeful +- Shit happens, life goes on