TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: A Better TypeScript?

1 pointsby jcuenod3 months ago
Am I the only one who wants a better typescript?<p>Wishlist:<p><pre><code> - Get rid of js footguns like == type coercion (and a bunch of legacy cruft, like maybe `switch`) - The addition of `match` expressions with `Option` and `Result` ADTs - No more any, null, or undefined - A great FFI story for js-interop (like ts has) - Support for JSX - Compiles to JS (or maybe to JSX in &quot;preserve&quot; mode, which would allow something like the Solidjs compiler to work on it) </code></pre> I am one of the dozens of people who actually liked Coffeescript. I know about Civet (it&#x27;s not scratching my itch). I am enjoying using Rescript (couldn&#x27;t get into Elm), and I&#x27;ve looked at Purescript, Fable... But I think there&#x27;s something better out there.

1 comment

gr4ntmr3 months ago
homer&#x27;s car
评论 #42942576 未加载