Next: Early testing
Up: Getting it to Work
Previous: Stubs
  Contents
  Index
Argument checking
It is a good idea, at least for the top-level queries, to verify all parameters systematically. In the specification, we have defined various constraints that the input data must satisfy. Most of these constraints can be translated without too much work into checks that verify the constraints. A separate module for error checking can handle this work and leave the application core to rely on the correctness of the data.
In RiskWise, the module error_checking performs these checks, using a simple language to define data constraints into executable rules.
Warwick Harvey
2004-08-07