Kevin Smith (2013-04-10T14:06:31.000Z)
github at esdiscuss.org (2013-07-12T02:27:01.862Z)
I can't seem to remember or find the rationale behind lazy (interleaved) execution of external modules. For example: ```js // x.js console.log("inside x"); export var x; // y.js console.log("inside y"); import x from "x.js"; ``` With lazy execution, loading "y.js" would produce: > inside y > inside x The alternative would be to execute dependencies prior to executing the requested module: > inside x > inside y What was the rationale for choosing the first alternative?