Files
exercises-in-programming-style/23-declared-intentions
2018-12-13 19:57:17 -08:00
..
2014-01-07 14:14:25 -08:00
2018-12-13 19:57:17 -08:00

Style #23

Constraints:

  • Existence of a run-time typechecker

  • Procedures and functions declare what types of arguments they expect

  • If callers send arguments of types that are't expected, the procedures/functions are not executed

Possible names:

  • declared intentions
  • "You've been warned!"