Skip to content

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

Comments

Typescript doesn't necessarily make your code any more stable than equivalent vanilla JavaScript that validates function arguments properly

You're confusing runtime checks with compile time checks. If you mess types while developing, you will know instantly with TypeScript but you'll find out during testing with JavaScript (or in production)

AboutSource Built by g1lg1l

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