News for hackers. Stuff that matters.
Re:Railway-oriented programming by pygy_ on Friday June 13, 2014 @02:33PM (#7890204)
I'm surprised none has mentioned promises yet, since they're an example of this pattern applied to asynchronous code:

    getData().then(validate).then(update).then(send, handleError)
This reproduces the code flow of the first figure of the article.

There are no comments on this comment yet.