logoalt Hacker News

fiyec30375last Tuesday at 4:53 PM2 repliesview on HN

Typescript is ubiquitous in web, and there are some amazing new frameworks that reuse typescript types on the server and client (trpc, tanstack). It's faster (than python), has ergonomic types, and a massive community + npm ecosystem. Bun advances the state of the art for runtime performance (which anthropic just bought and use for Claude code).


Replies

krzykyesterday at 1:01 PM

But it comes from Javascript and inherits its issues, and is used mostly because there is no other option on the web and that makes it popular, not its quality, but lack of options. So a closed ecosystem with just one language - Javascript, and any other languages that can be compiled to it. And Typescript is a bandaid to make sensible type system on top of Javascript, and it still leaves option open to use Javascript lack of rules. Concurrency in JS also looks junky.

And on readability Python also wins (if we prohibit stupidities like PEP 572)

bdangubiclast Tuesday at 5:26 PM

Did you just write both:

> The only reason to use it is inertia

and

> Typescript is ubiquitous in web

:-)

show 1 reply