Files
exercises-in-programming-style/22-declared-intentions
Joergen Edelbo 6148cff95e Added C++ implementation of 06-candy-factory.
You will have to compile (make) the program before running the test.
2013-10-08 16:26:03 +02:00
..
2013-09-27 12:01:14 -07: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!"