Files
exercises-in-programming-style/23-passive-aggressive
2020-05-05 09:04:12 -07:00
..
2020-05-05 09:04:12 -07:00
2019-08-12 14:38:16 -07:00

Style #23

Constraints:

  • Every single procedure and function checks the sanity of its arguments and refuses to continue when the arguments are unreasonable, jumping out of the function

  • When calling out other functions, program functions only check for errors if they are in a position to react meaningully

  • Error handling occurs at higher levels of function call chains, wherever it is meaningul to do so

Possible names:

  • Passive aggressive
  • Exception