To Type or Not to Type? A Systematic Comparison of JavaScript and TypeScript App (researchgate.net) 3 points by Existenceblinks 3y ago ↗ HN
[–] qwertyuiop12 3y 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
[ 4.3 ms ] story [ 15.4 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.