Re:Use of Goto in Systems Code
by jacques_chester on Wednesday February 06, 2013 @04:06AM
(#5175557)
So you prefer gotos to reduce the number of tests you have to write by artificially pushing down the number of countable code paths?
I guess I see the reason. It seems to be connected to your development economics -- SLOCS required to reach a certified state.
I'm glad that works for you. It still scares me.
In SIL4, its not enough to say:
.. and then just test the SAFE condition. You also have to test the condition where the constant SAFE gets bitrot, where the var something gets bitrot, &etc. Adding a test case for every potential bit-rotted branch of the conditional.