Actually I'm currently working on a node project and I've already hit the dreaded nesting. Everything is callbacks. Im definatly seeing the benefits for promises.
I'd love to see some examples of promises being passed around in preference to callbacks. -- Rob Griffiths Twitter: @bytespider Github: https://github.com/bytespider bytespider.euSent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, 28 October 2011 at 16:25, Dmitry Pashkevich wrote: > The benefit is visible but when looking at it I have fear that by using the > Promises methodology (and in our case it's just a syntactic sugar for js) you > can easily get tricked by thinking that actually asynchronous stuff is > happening synchronously and eventually fall in your own traps. > But I get the point, it's an interesting approach, thanks for sharing! > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]) -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
