|
|
|
|
|
by jahewson
1716 days ago
|
|
If you work by yourself this can be true. But it’s not that different from saying you don’t need to write tests because you don’t have trouble with bugs! That might be true but it doesn’t make it a good idea. I’ve worked with NodeJS for over 10 years now and have ported many codebases from JS to TS and have never found one that didn’t contain a bug that the TS compiler found immediately, even my own carefully crafted solo projects. Plus every type definition and annotation is basically a free self-maintaining unit test! |
|