3 ms·
When my typechecker writes most of my tests for me, I have time to write features.
by gertef 10y ago
When my typechecker writes most of my tests for me, I have time to write features.
- Touche 10y agoIf so, I'd say you were writing the wrong kinds of tests before. I work in JavaScript and almost never write type verification tests.
- zeckalpha 10y agoTypes in JavaScript aren't very expressive. When you encode your business logic in the type system, even business logic can be "tested" via the type checker.