Files
exercises-in-programming-style/20-tantrum/README.md
2013-09-25 19:01:16 -07:00

350 B

Style #20

Constraints:

  • Every single procedure and function checks the sanity of its arguments and refuses to work when the arguments are unreasonable

  • All code blocks check for all possible errors and refuse to continue when things go wrong

Possible names:

  • Tantrum
  • Design by contract
  • Mental breakdown