The 6 Big Ideas of Typescript (sitr.us)
from hallettj@leminal.space to programming@programming.dev on 07 Apr 02:24
https://leminal.space/post/33987609

#programming

threaded - newest

artwork@lemmy.world on 07 Apr 02:33 next collapse

By Jesse Hallett, 6th Apr 2026, 35 min read, Tags: TypeScript, type theory…
Source [web-archive]

Thank you very much!

Though… 35 min read…? ~7000 words…? Type theory…? Is that the speed of mind of 2026…?

hallettj@leminal.space on 07 Apr 03:58 collapse

It’s intended to acquaint one with the language, and there is a lot do that. I don’t know what is the right way to write this kind of stuff; but my thinking was if I were learning I’d rather start with this kind of piece before getting into a book.

ultimate_worrier@lemmy.dbzer0.com on 07 Apr 04:15 next collapse

Purescript > Typescript

MonkderVierte@lemmy.zip on 07 Apr 09:43 next collapse

1 - 6: being less of a disaster than JS.

SchwertImStein@lemmy.dbzer0.com on 07 Apr 12:20 collapse

Seems ok.

I’ll post critique because it is easier:

  • atrocious code block font
  • some of non-code annotations are misaligned (on phone) e. g. nullable string
  • 5 is about Generics with emphasis on React. functions don’t “take two parameter lists”. Generic functions can have the type specified.
  • 6 is wrong. types cannot “be functions”. You can do some type algebra on types.