News for hackers. Stuff that matters.
Re:Callbacks are imperative, promises are functional by crazygringo on Sunday March 31, 2013 @03:33PM (#5469888)
And I'm thinking about complex sites, not simple serve-up-a-page-and-that's-it.

A cache gets refreshed or added to. A user's viewcount is incremented. A new statistic is calculated and then stored. An item is marked as viewed. And these are all just on a GET.

On complex sites with a logged-in user, side effects are pretty much the norm.

There are no comments on this comment yet.