Skip to content

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

Comments

Neither JS nor TS is my 'main language', but one big advantage of using Typescript I noticed immediately is that editors can provide much more Intellisense information while typing and immediately show error squiggles if a function call parameter isn't what the API expects (same as in any other statically typed language of course, but for writing 'web code' I thought that's a pretty big deal). This probably also works with WebIDL for regular JS APIs (as I said, JS is not my main language), but in TS this just works automatically also for your own APIs.

AboutSource Built by g1lg1l

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