Personally, for most scenarios that call for blocking iterators in other 
languages, I'd use streams in object mode.
On July 22, 2014 at 1:17:57 PM, Santiago Basulto ([email protected]) 
wrote:

Hello guys. I've been doning some experiments with Async iterators. You can 
find more details in the repo I created[1] but I'll explain my rationale behind 
it quickly: I'm a heavy python user and I love iterators. They provide a nice 
and clean interface. When I started to get into node.js I noticed the "lack" 
(or the lower use, to be precise) of them and started doing some research. The 
problem I found was that, for async architectures, blocking/regular iterators 
doesn't look like a good fit. Well, that's just something I think, maybe I'm 
wrong. Please share your thoughts.

[1] https://github.com/santiagobasulto/async-iterators
--
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/600ce235-7ab7-487f-8c49-af8c1209c588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/etPan.53ced71b.2901d82.115%40Sierra-2.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to