~/talk

Super TypeScript II Turbo – FP Remix

Talkat ng-conf 2017 · 2017-04-05..04-07· [typescript]
name:Sean May
links:none on file
slides:none on file

Shows concrete TypeScript code that uses pure functions, higher‑order functions and generics to build pipelines like updatePlayer = compose(updateHealth, compose(updateAnimation, updatePosition)) and maps/filters that produce a new list of injured enemies after dealing damage. Demonstrates how compose and typed transforms preserve input/output types across arrays, promises and observables, and how Readonly plus Pick and Record enforce surface immutability (with the caveat that private mutable state still works). Code compiles and behavior remains predictable.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Too many code bases
  3. 2:51Pure Functions
  4. 3:59Highorder Functions
  5. 5:03Explicit Typing
  6. 6:43Reusable Functions
  7. 8:10Configurable Functions
  8. 9:43Combos
  9. 11:24Compose
  10. 12:27BeAny
  11. 13:39Update
  12. 15:11Mapping
  13. 16:08Dataflow
  14. 17:13Readonly
  15. 18:50Pick
  16. 20:09Record
~/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.