| |
| | Contract Programming 101 |
 | | Contract Programming is something that’s been around for a long time but is getting far more air play, and rigorous examination, in recent times. |
 | | Finally, it examines the often-misunderstood relationship between exceptional conditions, invalid data and contract violations, highlighting the fact that exceptions are a tool for use in the implementation of correctly handling programs as well as a mechanism for the reporting of contract violations. |
 | | Essentially, contract programming is about specifying the design, in terms of the behaviour, of your components (functions and classes), and asserting truths about the design of your code in the form of runtime tests placed within it. |
| www.artima.com /cppsource/deepspace.html (1368 words) |
|