in reply to Re: Is this a simple, robust, and maintainable design?
in thread Is this a simple, robust, and maintainable design?

'Negating' the NOT states actually implies the next state. The negation of NOT_CHECKED to CHECKED actually makes CHECKED semantically the equivelent of NOT_VERIFIED. I'd change the sense by changing NOT_CHECKED to NEEDS_CHECK to retain the state but to avoid the seeming double negatives scattered through the code.

True laziness is hard work
  • Comment on Re^2: Is this a simple, robust, and maintainable design?

Replies are listed 'Best First'.
Re^3: Is this a simple, robust, and maintainable design?
by neodon (Novice) on Feb 03, 2011 at 20:01 UTC
    That's pretty insightful. It would be a relatively easy change that would make everything much clearer.