~/talk

TypeScript for C++ programmers

Talkat NDC TechTown 2021 · 2021-08-30..09-02· [typescript, c-and-cpp]
slides:none on file

Compares C++ expectations to concrete TypeScript behavior: shows installing with npm install --save-dev typescript, initializing and compiling with npx tsc and tsconfig, and running output with node; demonstrates the classic JavaScript this vs arrow-function bug and that TypeScript still emits JavaScript even when compile errors exist (surprising). Explains structural typing, generics, utility types, const vs readonly semantics, and using .d.ts declaration files and the DefinitelyTyped ecosystem to give type-safe bindings to existing JS libraries.

AI-written summary · about

  1. 0:00Start
  2. 1:18WHAT THIS TALK IS AND ISNT
  3. 2:25IT ALL STARTED WITH THE WORLD WIDE WEB
  4. 4:48A GOOD FOUNDATION
  5. 5:19JAVASCRIPT IS NOT PERFECT
  6. 10:23TYPESCRIPT FROM A DISTANCE
  7. 16:10TYPESCRIPT BASICS
  8. 16:31TYPESCRIPT HISTORY
  9. 17:13FUNCTIONS
  10. 19:21CLASSES AND INTERFACES
  11. 22:14GENERICS
  12. 25:35THE TYPES OF TYPESCRIPT
  13. 26:55"ADVANCED" TYPESCRIPT
  14. 27:15STRUCTURAL TYPE SYSTEM
  15. 36:46UTLITY TYPES
  16. 45:09SUMMARY
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.