~/talk

I Yield for Generators

links:none on file
slides:none on file

Claims that ES6 generators let code be both faster and clearer by turning iterative and async patterns into simple linear code. Shows a working tree-traversal generator, an infinite sequence of numbers with skip/take paging that yields expected ranges, and an async runner that resumes generators by awaiting Promises (errors rethrown into the generator). Demonstrates generator-based batching for UI work and coroutine-like channels; runs in Chrome flag, Node harmony/unstable and Firefox Nightly.

AI-written summary · about

  1. 0:00What are Generators
  2. 6:32Generating with Generators
  3. 11:26Other Uses for Generators
~/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.