2 ms·
I was addressing the above comments about tests that specifically check types. My position is that declarative types and a type checker are better because each
by eyelidlessness 8y ago
I was addressing the above comments about tests that specifically check types. My position is that declarative types and a type checker are better because each code path is checked automatically without writing additional tests, and because the type checker automatically adapts without changing or writing new tests when the implementation changes. Testing behavior is another thing entirely.