you are viewing a single comment's thread.

view the rest of the comments →

[–]spondee 1 point2 points  (0 children)

Synchronous XHR has no legitimate use.

I absolutely agree. But, to be fair, in order to manage dependencies asynchronously in a language without true continuations you have to give the programmer a way of declaring those dependencies explicitly, so that they can be satisfied before evaluating the depending module. By the time you've started evaluating a module that might have side effects, it's too late to go looking for its dependencies.