News for hackers. Stuff that matters.
Re:Why I am switching to promises by gcr on Tuesday January 07, 2014 @11:11PM (#7021635)
In short: Generators are useful when you use callbacks to wait for the server to finish doing something (eg. finish a DB update or an HTTP request)

Continuations are useful when you're waiting for the user to finish doing something (eg. an HTTP response, not a request).

So they do solve different problems.

There are no comments on this comment yet.