~/talk

From imperative to reactive thinking

Talkat AngularCamp 2017 · on Thursday, 2017-07-06· [reactive-programming, angular]

Shows a concrete before-and-after: an imperative version built from nested setTimeouts and shared state versus a reactive rebuild using Angular and RxJS. Implements the Friends ball game with probabilistic throws, a working demo, and code that uses fromEvent, switchMap, delay and do to model windup travel and catch as streams. Reactive code composes throw and catch observables, uses repeat and takeUntil and errors to stop the game, and demonstrates easier feature addition and clearer flow than the imperative version.

AI-written summary · about

  1. 0:00Intro
  2. 2:57Observer Pattern
  3. 6:10Sequences
  4. 12:23The Ball
  5. 14:39Imperative
  6. 20:23Reactive
~/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.