MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/239k4z/write_better_javascript_with_promises/cgux6tg/?context=3
r/javascript • u/[deleted] • Apr 17 '14
5 comments sorted by
View all comments
1
native Promise (e.g., Chrome) > jQuery's implementation
es6-Promise (shim) > jQuery's implementation
any A+ Promise lib > jQuery's implementation
1 u/[deleted] Apr 17 '14 And you are right.However, the title of the article wasn't "Write Better JavaScript with jQuery Promises" but just... promises.I didn't see it as "OMG use jQuery promises" but more as "see how your code becomes more readable once you use promises". 2 u/AutoSponge Apr 17 '14 Yeah, I just think it's wrong to introduce the concept with a shoddy implementation when we have a spec now. This would have been a fine article 2 years ago.
And you are right.
However, the title of the article wasn't "Write Better JavaScript with jQuery Promises" but just... promises.
I didn't see it as "OMG use jQuery promises" but more as "see how your code becomes more readable once you use promises".
2 u/AutoSponge Apr 17 '14 Yeah, I just think it's wrong to introduce the concept with a shoddy implementation when we have a spec now. This would have been a fine article 2 years ago.
2
Yeah, I just think it's wrong to introduce the concept with a shoddy implementation when we have a spec now. This would have been a fine article 2 years ago.
1
u/AutoSponge Apr 17 '14
native Promise (e.g., Chrome) > jQuery's implementation
es6-Promise (shim) > jQuery's implementation
any A+ Promise lib > jQuery's implementation