Lea Verou on Nostr: I’ve spent some time on a TypeScript codebase this week¹. I’ve now spent more ...
I’ve spent some time on a TypeScript codebase this week¹.
I’ve now spent more time fighting against TS than writing out logic.
Corollary: I would've been 2x as productive without it.
Of all these warnings, how many helped me fix real bugs? None.
The original vision of TS was brilliant: Optional type hints get you the benefits of type checking, without getting in the way when you don't need them.
But at this point, TypeScript is no less painful than Java.
¹ I prefer JSDoc+TS imports myself.
I’ve now spent more time fighting against TS than writing out logic.
Corollary: I would've been 2x as productive without it.
Of all these warnings, how many helped me fix real bugs? None.
The original vision of TS was brilliant: Optional type hints get you the benefits of type checking, without getting in the way when you don't need them.
But at this point, TypeScript is no less painful than Java.
¹ I prefer JSDoc+TS imports myself.