To Type or Not to Type? A Systematic Comparison of JavaScript and TypeScript App (researchgate.net) 3 points by Existenceblinks 4y ago ↗ HN
[–] qwertyuiop12 4y ago ↗ I think that Typescript is better for people that consume external libraries.When you are making some personal software, in general you know how it works, the problem is when you use external tools.Many times I had errors due to optional params in a constructor to capitalize or not capitalize the keys.Also, typescript helps you documenting the code “without” documenting, only looking for what types are passed.
1 comment
[ 2551 ms ] story [ 111 ms ] threadWhen you are making some personal software, in general you know how it works, the problem is when you use external tools.
Many times I had errors due to optional params in a constructor to capitalize or not capitalize the keys.
Also, typescript helps you documenting the code “without” documenting, only looking for what types are passed.