What is Nostr?
Axel Rauschmayer /
npub17at…75qq
2024-03-08 12:25:32

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.
Author Public Key
npub17at4s5zn2gryfckwn6xpmwuaejhdksd93nk8rtzwjsjhcm8pu54s8875qq