|
|
|
|
|
by fc417fc802
479 days ago
|
|
"it doesn't matter" != "code is correct" Sometimes it's just not cost effective to solve every last bit of jank. If you write software that controls safety critical systems then obviously that statement does not apply. But if you write webapps or games or ... |
|
Fair. Despite the lengthy argument, I don't think our stances are all that drastically different. I am not saying that you shouldn't write tests. Just that the mental model comes first and that the tests are informed by it (in an ideal world the test are an automatically executable specification of your mental model).
Still I don't understand why you insist that "there exists an automated test for it" has to be the definition of whether something matters.
> But if you write webapps or games or ...
In which case it might just be fine to YOLO it without tests.
People have been delivering valuable software without automated tests for decades. Checkout the code of the linux kernel from circa 2005 and see how many tests there are.