Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

When my typechecker writes most of my tests for me, I have time to write features.


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.


Types 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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: