Files
exercises-in-programming-style/22-tantrum
2013-11-18 17:15:42 -08:00
..
2013-11-18 17:15:42 -08:00
2013-11-18 17:15:42 -08:00

Style #21

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