What you describe as "small and simple, but also idiomatic", can be said also about assembly language. Basically, what is the reason for having high-level languages? Everything can be done more efficiently in assembly, for sure.
The problem of this logic is that it discounts the "costs", and there's more than one type of costs (though all of them eventually have $$ expression). Imagine writing program consisting of 300 async calls in the "idiomatic" way you propose. Handling correctly all exceptions... Debugging such program... MAINTAINING it (300 is a number of async calls in a modest size project I saw recently). I don't know. If nodejs team believes current solutions are optimal, so be it. >> -- 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
