3 ms·
I don't ever unconditionally trust code, but my faith rises: * a little, if it passes a decent unit and/or integration test suite; * a fair bit more, if it su
by LnxPrgr3 10y ago
I don't ever unconditionally trust code, but my faith rises:
* a little, if it passes a decent unit and/or integration test suite;
* a fair bit more, if it survives a round with humans who didn't write it but did set out to break it;
* quite a bit more, once it's been in production for a while without complaints tracing back to it;
* gradually approaching, but never reaching, perfect trust the longer it survives exposure to the world.
A lot of bugs will make it past step 1--even through tests with 100% code coverage. Hopefully no one takes them as anything near proof of correctness.