this post was submitted on 09 Apr 2026
81 points (96.6% liked)

Programmer Humor

31461 readers
346 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
you are viewing a single comment's thread
view the rest of the comments
[–] ultimate_worrier@lemmy.dbzer0.com 2 points 1 month ago* (last edited 1 month ago) (2 children)

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 1 points 1 month ago (1 children)

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

[–] qaz@lemmy.world 0 points 1 month ago (1 children)

Typescript's string pattern types are quite neat though

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.