Comment by LAC-Tech
6 hours ago
I think typescript is just not a very ergonomic static typing system.
Don't get me wrong, it's a fantastic feat of engineering. It's wonderful that it exists. But it's retro-fitted onto a very dynamic language and it shows.
I prefer static typing - but when writing typescript I often question why I'm bothering.
My happy place seems to be typescript, with strict mode, and using //@ts-ignore about every 100 lines or so, usually inside a function.
No comments yet
Contribute on Hacker News ↗