151
you are viewing a single comment's thread
view the rest of the comments
[-] ultimate_worrier@lemmy.dbzer0.com 7 points 3 weeks ago* (last edited 3 weeks ago)

Typescript doesn’t have linear types. Not even Haskell has linear types (correction GHC has had LT by extension since 9.0). Give Rust some credit for having linear types (AKA borrow checker).

Ps. Typescript doesn’t have dependent types and their type system is a joke even compared to Purescript. Here’s a little writeup about it: https://lemmy.dbzer0.com/post/66729809

[-] sarahnya@lemmy.blahaj.zone 2 points 3 weeks ago

GHC has had experimental support for linear types in Haskell since version 9.0.1

[-] qaz@lemmy.world 1 points 3 weeks ago

Typescript's string pattern types are quite neat though

[-] ultimate_worrier@lemmy.dbzer0.com 2 points 3 weeks ago

That’s true and they’re great for prototyping but I’ve fallen in love with Purescript for that domain. So I’m a bit biased.

this post was submitted on 09 Apr 2026
151 points (96.9% liked)

Programmer Humor

31253 readers
2572 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS