Axel Rauschmayer on Nostr: 1/ #TypeScript: – My own experience of TypeScript is overwhelmingly positive. – ...
1/ #TypeScript:
– My own experience of TypeScript is overwhelmingly positive.
– But I’m also seeing people complain about its complexity.
I think both are true:
1. If you stick with simple types and strict type checking (no `any`), you’ll have a good experience.
2. Alas, some JavaScript APIs can only be described with very complicated types and then things can get ugly.
Definitely typed has some type definitions that I find too complicated.
– My own experience of TypeScript is overwhelmingly positive.
– But I’m also seeing people complain about its complexity.
I think both are true:
1. If you stick with simple types and strict type checking (no `any`), you’ll have a good experience.
2. Alas, some JavaScript APIs can only be described with very complicated types and then things can get ugly.
Definitely typed has some type definitions that I find too complicated.