C++ guys hate static_if?

bearophile bearophileHUGS at lycos.com
Thu Mar 14 14:26:54 PDT 2013


Walter Bright:

> I understand this. But my experience in the matter has been 
> that if the tests cover 100% of the code paths, the incidence 
> of undetected bugs in the code goes very, very low.

This is not so much true for template-heavy code.

And 100% code coverage is not enough even for regular code, 
that's why they have invented this for Java:

http://dev.theladders.com/2013/02/mutation-testing-with-pit-a-step-beyond-normal-code-coverage/

Bye,
bearophile


More information about the Digitalmars-d mailing list