Files
exercises-in-programming-style/23-declared-intentions
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 #22

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!"