Sorry, that was constructivist, even though this editor is flagging that word with red squiggles.
This commit is contained in:
20
21-constructivist/README.md
Normal file
20
21-constructivist/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
Style #21
|
||||
==============================
|
||||
|
||||
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:
|
||||
|
||||
- Constructive
|
||||
- Defensive
|
||||
- Hopeful
|
||||
- Shit happens, life goes on
|
||||
|
||||
(See http://en.wikipedia.org/wiki/Constructivism_(mathematics))
|
||||
Reference in New Issue
Block a user