HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by motorest

Comment by motorest 2 days ago

0 replies

View on Hacker News

> Python with types is still just python. Typescript is a different language from JS (guess it a superset?)

No, it's the exact same thing. TypeScript adds support for type annotations, and removing these annotations leads to JavaScript. See how Node.js added support for TypeScript by implementing type stripping in v22.

https://nodejs.org/api/typescript.html#type-stripping