+1 老赵 | Jeffrey Zhao Blog: http://blog.zhaojie.me/ GitHub: http://github.com/JeffreyZhao/
From: Bruno Jouhier Sent: Wednesday, May 30, 2012 4:02 AM To: [email protected] Subject: [nodejs] Re: recommended flow control library? My take about it: flow control is not (or should not be) a library issue. It is a language issue. The language has all the keywords that you need to do flow control (if, else, return, while, for, break, continue, throw, try, catch, finally, ....). These keywords let you express complex flow control very efficiently and elegantly, as long as you deal with sync code flows. If you can fix the language and restore the power of these keywords so that they can deal with both sync and async code flows then you win: no new API to learn, no extra noise, just simple and familiar JS code. You also need a simple trick (with minimal syntax overhead) to parallelize stuff and express workflows but that's easy once you have fixed the language. Bruno On Saturday, May 26, 2012 8:54:13 PM UTC+2, Davis Ford wrote: There does not appear to be a shortage of libraries out there that help with flow control. I'm looking for something that is well tested, maintained, and has the capability to deal with parallel and sequential workflows - functional programming syntactic sugar is a plus...don't care about coffeescript, and documentation that is in coffeescript only is a minus. https://github.com/joyent/node/wiki/modules#wiki-async-flow I've been browsing a lot of these on github, and a number of them look good, but it is quite time consuming to investigate them all, so I'd love to hear any feedback from the group. Are you using any of these (or other libs not listed) -- happy with them? Any you would recommend? Thanks in advance, Davis -- 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 -- 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
