Comment on Ask HN: Is it worth it to invest in learning TypeScript?parentComments−friedman234yWithout an automated system telling you where to add checks for possible undefined values I think it's actually impossible in practice.−Zababa4yI 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.
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.