Skip to content

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

Comments

Without an automated system telling you where to add checks for possible undefined values I think it's actually impossible in practice.

I think it is very possible. There's a simple technique for that: check everything, all the time. As I said, it's tedious but it's far from impossible. You can probably optimise it by checking less things in practice.

AboutSource Built by g1lg1l

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