|
|
|
|
|
by catnaroek
3611 days ago
|
|
> The only tests you have to discard (...) are some of the tests validating your input data. That's not true. You can safely discard anything that tests something you've proven. A good type system doesn't only prove things for you - it also makes it easier to manually prove what the type system can't prove. |
|
So the only thing it helps is get rid of bad tests (eg: tests that check a function return any string...tests you shouldn't write even in a purely dynamic language).