Compare:<p>- Pyramid of Doom (JS beginner)<p>- An array of functions in an async.waterfall (async module)<p>- A massive .then() chain (promises)<p>With: 'put the next thing on the next line' like every sync programming language you used before:<p><pre><code> var fileContents = yield readFile('myfile', 'utf8');
console.log(fileContents)
</code></pre>
This is the future.