~/talk

Flow - Am I Your Type?

Talkat Strange Loop 2017 · 2017-09-28..09-30· [typescript]
slides:none on file

Flow is Facebook’s open source static type checker for JavaScript that supports gradual typing, type inference, and integrates with Babel, ESLint, editors, and webpack. It catches errors without annotations by tracing value flow and starts a persistent flow server that spawns parallel workers (about ten on a multicore laptop). Workflow tools include flow suggest, flow remove-types / node with flow-node, and flow-typed (about 570 third‑party defs compared to TypeScript’s ~2000). Strict null checking is default (strict null checking by default), and $FlowFixMe is an escape hatch.

AI-written summary · about

  1. 0:00Intro
  2. 1:14Outline
  3. 1:48Static vs. Dynamic
  4. 2:11Why Use Types?
  5. 4:01Why Avoid Types?
  6. 4:38When to Use Types
  7. 5:04Flow Overview
  8. 6:31TypeScript Overview
  9. 10:14Installing Flow
  10. 10:53Running Flow
  11. 12:09Type Suggestions
  12. 13:04The Executing Code With Types ...
  13. 14:43Flow Analysis Example
  14. 15:42Uninitialized References
  15. 17:23Flow Types
  16. 18:56Maybe Type
  17. 21:47Basic Types Example
  18. 22:39Builtin Types
  19. 25:19Functions
  20. 27:34Arrays
  21. 30:54Classes
  22. 34:10Type Discrimination
  23. 35:11Unions For Enums
  24. 35:44Sharing Type Aliases Example
  25. 36:19Escape Hatch
  26. 36:53Flow Server ...
  27. 37:53Flow Project Checklist
  28. 39:30Summary
  29. 40:15Reasons to Prefer Flow Over TS
~/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.