|
|
|
|
|
by darrencauthon
4440 days ago
|
|
His code example is: if (error_of_fifth_kind) goto fail;
goto fail;
if (error_of_sixth_kind) goto fail;
The_truly_important_code_handling_non_erroneous_caseMy question: If the "truly important code" is really that important, where are the unit tests to verify that it "handles" the "non erroneous case????" Test. Your. Code. |
|
Take it as the quite anecdotal evidence it is, but to me it explains a lot.