Follow me

Joan Vilariño

Senior .NET Developer at Ohpen
Developer for more than 25 years and IT, gadget, mobile and electronics enthusiast working and publishing from Barcelona.
Follow me

I found this article today, and it’s quite good. It shows the differences programming in Javascript when you do it callback oriented or promise oriented.

The article includes a repository and unit testing using Traceur for ES6 transpilation, Bluebird for promises and Mocha / Should for unit testing

Worth a read!

http://lkrnac.net/blog/2014/10/promises-vs-callbacks-comparison/