Alternative to Promise

韩冬 handong05 at meituan.com
Wed Sep 30 05:51:09 UTC 2015


ES6 Promise is great,  i just want to share my thoughts on dealing with callback hell issue with a different approach here.
I’m been try to port ConT monad from haskell to javascript these days, after some work, i believe we can have a much simpler alternative to Promise, read this introduction to my approach please:

http://winterland1989.github.io/Action.js/ <http://winterland1989.github.io/Action.js/>

I’m not saying it’s better than Promise, but it’s much simpler and easier IMO, any peer are welcomed!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150930/54c5b71b/attachment.html>


More information about the es-discuss mailing list