Skip to content

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

Comments

If you intend to work with anything front end or node related the 100% yes. I was skeptical at first, but would say I am fully converted.

The tipping point for me was when I tried to implement an order book (finance data structure) in typescript, and got it running pretty much on the first run. In the past, I would always screw up one of the structures, such as forgetting to pass an argument, or a field, or something similar.

The type system is powerful, but gives you escape hatches such as "any" which is useful when you run up against eg. interacting with the DOM where these things can get quite annoying.

AboutSource Built by g1lg1l

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