On Feb 10, 10:17 am, "john.tiger" <[email protected]> wrote:
> for a project we do not want lots of nested callbacks so
> 1) where is node in regards to using harmony generators ?
> 2) is node-fibers a fork or add on module ?
> 3) if we use node-fibers and then later generators becomes "standard" -
> would there be much rewriting required ?

@john.tiger, It seems that no one drilled down on your application.
What async routines do you expect to call in such a deeply nested way
that callback code becomes unwieldy?

There's often a way to write it such that it's not so deeply nested,
for example some async ops can be done concurrently and hit the same
callback. Or a sequence of database ops could be represented as an
array of queries that's handed to a routine that sequences them.

-- 
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

Reply via email to