~/talk

TypeScript Yin-Yang

Talkat Frontmania 2022 · on Wednesday, 2022-10-05· [typescript, javascript]
links:none on file
slides:none on file

Argues that TypeScript is mainly a static type checker and documentation tool rather than a separate language, and walks through concrete code: a variable initialized as a number then reassigned to a string, how union types and annotations prevent that, interfaces and intersections for object shapes, literal and BigInt examples, and the value space vs type space distinction that causes confusing name collisions. Shows TypeScript catches many mistakes at compile time but that types are erased at runtime and opting out with any removes those checks.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19TypeScript basics
  3. 8:20TypeScript as Yin-Yang
  4. 12:12TypeScript vs JavaScript
  5. 15:07Benefits of TypeScript
  6. 17:35Type sets and value sets
  7. 24:09Type system overview
  8. 27:00Type vs value space
  9. 33:30Type annotations and spaces
  10. 36:31Type compilation
  11. 38:00Runtime type checking
  12. 39:30Decorators and legacy
  13. 40:59Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.