Planning Ahead: the Async Javascript Problem

Yesterday [I posted about spaghetti-free Javascript code](https://zef.me/3715/three-routes-to-spaghetti-free-javascript). A [lot](http://news.ycombinator.com/item?id=2279862) of [reactions](http://www.reddit.com/r/javascript/comments/fvrhj/three_routes_to_spaghettifree_javascript/) [followed](http://www.reddit.com/r/programming/comments/fvrhf/three_routes_to_spaghettifree_javascript/). As it turns out, most people misunderstood my point. That’s probably my fault. Here is at again, more concisely: When you write Javascript you have to think ahead: in the code I’m about to write, is there going to be an asynchronous callContinue reading “Planning Ahead: the Async Javascript Problem”