4 ms·
If so, I'd say you were writing the wrong kinds of tests before. I work in JavaScript and almost never write type verification tests.
by Touche 10y ago
If 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.