~/talk

Thinking in TypeScript

Talkat Nordic.js 2019 · 2019-10-10..10-11· [typescript]

TypeScript is framed as a practical tool for JavaScript: adding annotations reveals real, fixable problems in running code. Applied to Ember/Polymer work (adopted 2015) and with strictNullChecks enabled in TypeScript 2.0 (2016) it surfaces concrete bugs — three in an example: an uninitialized candidates array, an unchecked find returning undefined, and a slice-on-undefined — all fixed with explicit union types and initialization. Annotating the measure function replaces five minutes of guesswork with an immediate, accurate signature.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Skylight Buddy Ember
  3. 1:41TypeScript
  4. 2:52Understanding a function
  5. 4:16Checking the target parameter
  6. 7:30Checking the target
  7. 11:04Multiple variables
  8. 12:06Colon syntax
  9. 13:32Position
  10. 14:11undefined
  11. 15:54ratenames
  12. 16:09casing
  13. 16:28naming
  14. 17:13bugs
  15. 19:45arrayfine
  16. 20:04undefined value
  17. 20:34Strict no checks
  18. 21:22Fix ignore case flag
  19. 21:46Fix undefined
  20. 22:32Summary
  21. 23:12undefined returns
  22. 24:29property access
  23. 24:47missing function arguments
~/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.