Changes between Version 2 and Version 3 of CodingStandards
- Timestamp:
- 2009-05-17T00:35:48Z (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStandards
v2 v3 74 74 ==== class invariants ==== 75 75 76 If your class has internal state which is complicated enough that a bug in the class's implementation could lead to garbled internal state, then you should have a class invariant. A class invariant is a method like this (an actual example from BlockWrangler, but truncated for space):76 If your class has internal state which is complicated enough that a bug in the class's implementation could lead to garbled internal state, then you should have a class invariant. A class invariant is a method like this (an actual example from !BlockWrangler, but truncated for space): 77 77 78 78 {{{