A discussion of async and sync programming, which coexist frequently in many modern environments. And coexist painfully. It's really pretty incredibly awful, I don't know how we put up with it at all.
An aside, doctest.js (http://doctestjs.org/
) has something like the "await" feature he talks about, as it converts your doctest stanzas into individual chunks of code with CSP-style chaining, and lets you wait in between those stanzas while the code looks relatively linear. It's far more naive than a real language feature, but even if it's kind of dumb it sure is nice. Best feature in doctest.js (the best testing framework that no one uses!)