Why Typescript is bad
1.79K subscribers
72 photos
70 links
All topics related to TS

chat: @why_typescript_is_bad_chat
contact: @stuneak
Download Telegram
Forwarded from TypeScript Stories
3️⃣2️⃣
❌ Wrong type inference with Capitalize and Uncapitalize utility types.

▢️ Playground
πŸŽ‰4
JSON.stringify can return undefined and it is ok??

Playground.
πŸ‘17🀬3🫑3πŸ‘€2
🀬1
Eh?
🫑9πŸŽ‰3🀬2πŸ™1
πŸ‘Ž21πŸ‘€4πŸ‘1🀬1
That's it.
🫑20πŸ‘€11🀬1
TypeScript decided to commit sudoku by rewriting its compiler in an even worse language: Go.

The only reason given is "performance". De facto it means the language is so bad they can't use it for its own compiler anymore.

https://devblogs.microsoft.com/typescript/typescript-native-port/
πŸ‘21πŸ‘Ž10πŸ‘€3πŸ‘2🀬1πŸŽ‰1
Playground

@js_monk Thanks for sharing this madness!
πŸ‘€9🫑4πŸ”₯1🀬1