Files
exercises-in-programming-style/24-declared-intentions
2019-08-12 14:38:16 -07:00
..
2019-08-12 14:38:16 -07:00
2019-08-12 14:38:16 -07: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!"