3 ms·
@mpolun - It appears your account has been hell-banned. You need to create a new account so I can upvote your comments: mpolun> I agree that raw callbacks can
by jcampbell1 14y ago
@mpolun - It appears your account has been hell-banned. You need to create a new account so I can upvote your comments:
mpolun> I agree that raw callbacks can get out of hand, but the typical solution in js is to use an event emitter (http://nodejs.org/api/events.html http://nodejs.org/api/events.html) or promises (like https://github.com/kriskowal/q https://github.com/kriskowal/q), the latter of which seems to be pretty close to what this article is talking about. Is there a fundamental difference, or are promises an example of functional reactive programming in a language without direct support for it?