~/talk

Why should You Care about Functional Reactive Programming

Talkat NG-MY 2019 · 2019-07-06..07-07· [reactive-programming, angular]
links:none on file
slides:none on file

Shows converting a thousand-line Angular component into a small RxJS pipeline and pure helpers, making side-effect hunting disappear and unit tests trivial. Implements a live Wikipedia search using debounceTime + distinctUntilChanged + switchMap to avoid callbacks, then maps results to titles and extracts fields with Ramda pipe so three messy map lines become reusable pure functions. Uses the async pipe to avoid manual subscribe/unsubscribe. Demonstrates the refactor works end-to-end and claims maintainability and testability improve dramatically.

AI-written summary · about

  1. 0:00Introduction to FRP
  2. 2:22Problems with mutable state
  3. 3:49Pure functions explained
  4. 6:40Functional programming basics
  5. 7:46Reactive programming defined
  6. 8:29Issues with Promises
  7. 9:32Demo: Wikipedia search
  8. 11:19Functional reactive programming
  9. 13:30Refactoring API calls
  10. 16:43Simplifying data extraction
  11. 19:39Composing functions
  12. 21:11Benefits of FRP
  13. 22:37Async pipe in Angular
  14. 25:24Q&A and summary
~/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.