Changes between Version 1 and Version 2 of Contracts
- Timestamp:
- 08/23/10 15:44:18 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Contracts
v1 v2 14 14 You can turn off contracts when building shipping software in order to boost 15 15 run-time performance and/or reduce executable size via the -contracts compiler switch. 16 17 == Boolean Expressions == 18 Be aware that Cobra gives '''and''', '''or''', and '''implies''' equal precedence which is different from the conventions of boolean logic. Since boolean expressions are the basis of contracts you should be aware of the implications to your expressions when writing your preconditions, postconditions and invariants, specifically that additional parentheses will be required where you might not expect to need them. 16 19 17 20 == Keywords ==