Skip to content

Comment on Ask HN: Is it worth it to invest in learning TypeScript?parent

Comments

> Type errors in frontend code are typically rare in comparison to state

I find that this isn't true as soon as you weld Redux, MobX, or any other distributed-logic, central-state mechanism into an application.

If you can avoid that, maybe it's superfluous.

I would not write any new code in plain JavaScript today, though.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.