Changes between Version 2 and Version 3 of CodingStandards


Ignore:
Timestamp:
2009-05-17T00:35:48Z (16 years ago)
Author:
zooko
Comment:

edit

Legend:

Unmodified
Added
Removed
Modified
  • CodingStandards

    v2 v3  
    7474==== class invariants ====
    7575
    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):
     76If 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):
    7777
    7878{{{