Talking head
Constant Contact 2014

This presentation, by Kyle Simpson, is licensed under a Creative Commons Attribution ShareAlike 3.0
80x15

I bet you think “callback hell” is about function nesting and levels of indentation. Not so much. I bet you’ve heard that Promises replace callbacks. Nope. We need some clarity on what async flow control is all about in JavaScript. We’ll explore the perils of “Inversion of Control”, and see just what hell that leads us to. Then we’ll talk about promises as “continuation events” for function calls, and abstractions on top of promises that clean up our code. Finally, we’ll see how generators give us synchronous-looking async, and even how we can create cooperative concurrency with coroutines. Yield those confused async notions and control your flow. I promise we’ll get your thoughts in order.

Rated: Everyone
Viewed 1,144 times
Tags: There are no tags for this video.