On Friday, April 18, 2014 8:54:10 PM UTC+2, Aria Stewart wrote:
>
>
> Exactly: Promises give you something else, without being ‘sync’-style. 
> They let you manipulate as-yet-unavailable values relatively transparently. 
> Actual order of operations can be factored out instead of made explicit; 
> what’s left is order of dependency, rather than order of operations.
>
>  
My other point was that you don't need promises for this; you can do it in 
a very light/simple way with callback-based APIs, just by currying the 
callback. See 
http://bjouhier.wordpress.com/2011/04/04/currying-the-callback-or-the-essence-of-futures/

So why bring a new API style into the node ecosystem when it can all be 
done with wh?

Bruno

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to