2 ms·
So you're not saying that the demonstrated diagnostics cannot be relied upon, but rather that you require some other diagnostics which you believe are not there
by kazinator 3y ago
So you're not saying that the demonstrated diagnostics cannot be relied upon, but rather that you require some other diagnostics which you believe are not there.
Diagnostics which have not been made requirements in a language, and are therefore not implemented, indeed cannot be relied upon to be there, and we can write test cases which show that some situations would benefit from those diagnostics (all else being equal, which it usually isn't).
Under TDD, we can write a test case that fails for something that is not implemented and not a requirement (but about to become one).
That's a different claim though.
- lmm 3y ago> So you're not saying that the demonstrated diagnostics cannot be relied upon I am saying that. You can't rely on something that's not part of the specification (formal or otherwise). If I call an unknown function and f(2, 3) = 5 and f(7, 8) = 15, I would still be crazy to trust that f is the plus function if it wasn't actually documented or specified as such, even if I haven't come up with a concrete test case where it isn't yet.