Coming from a C#/Haskell and Python/Gevent (same issues), I think your 
arguments are not that relevant. Raw callback style sucks, everybody knows 
that. That's why there is a ton of "helper" libraries, and that's why most 
other languages are moving away from this pattern. It might be okay as a 
base for higher-level abstractions but basically asynchronous callback 
style was invented because thats the way the OS can easily maintain many 
concurrent io operations but thats not the way you should structure your 
code. After a few of haskell I really see the importance about composable 
components, and callbacks do not compose well! Generators are not the best 
way, I know. But it's the best the Ecma community comes up with... Ideally 
we would have only green threads in every language, but this might never 
happen =((

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to