Continuation Style Without the Fugly

The previous post discussed advantages of using a continuation style to send our code to the data instead of making our code wait for the data to come back to it. This pseudocode example has three I/O operations, each encasing the operations which should follow in a callback function parameter. let filename = // calculate … Read moreContinuation Style Without the Fugly

Bring the data to the code, or the code to the data?

Object-oriented code was conceived as message-passing between objects. Service-oriented architecture emphasizes delegation to another system. The entire web is a whole bunch of requests flying around. There is one clear way to be efficient about this: stop waiting for results. When we’re writing imperative code, we want to write the operations in the order they … Read moreBring the data to the code, or the code to the data?