A case in defense of ES6 generators in JavaScript
nikolay.rocks
A case in defense of ES6 generators in JavaScript
1–2 of 2 posts
Re: A case in defense of ES6 generators in JavaScript
#2Good read, but looking through all the examples, the callback is the easiest to read.
So we've added more constructors to get away from callback hell, but have we really gotten there?
On the other hand, I was about to promisify a library I've been working on, but have decided that generators are a better fit, for those who like working with promises :)