3 ms·
It's a good idea to tell Python people then, since, from what's being said, range and xrange are the same... However I give it to them it's not the whole story
by raverbashing 12y ago
It's a good idea to tell Python people then, since, from what's being said, range and xrange are the same...
However I give it to them it's not the whole story, and things like promises/callbacks are needed for async behavior.
Now, you could have an async yield.
- ubernostrum 12y agoES6 generators appear to lack some features of Python generators, which may account for the JS-specific leaning here.
- raverbashing 12y agoInteresting (some of this is explained here http://davidwalsh.name/es6-generators http://davidwalsh.name/es6-generators)