|
|
|
|
|
by docmach
6027 days ago
|
|
If you have 100% code coverage you don't necessarily have 100% path coverage, so there could still be errors that a statically typed language would catch at compile time. Realistically, most programs aren't going to have extensive test suits that get anywhere near 100% code coverage, so static typing becomes even more valuable. Also, running a full test suite for every build would take much more time that running a type checker. |
|
That is an absolutely crucial point in languages where side-effects are not controlled.