Node means a certain set of things, and part of those things are callbacks and streams.
Callbacks and streams are hard to learn because its a new programming paradigm you don't learn in school. It was hard for me too and I did it when this was still up for discussion. And I had good friends to teach me that really knew node. Developers will always try to fast track to their already understood paradigms; but that is not node. This existing paradigm makes sense to build network proxies; which node is awesome for. To node programs are proxies. A person should always start with callbacks and streams until he understands them, closures, and the event loop. Then he can make informed decisions on what to use when. However node is not the solution to all problems and if you wanted to build a general purpose replacement for Ruby on Rails in JS you probably wouldn't use callbacks and streams by something else as discussed. Personally i think this would be great, an would follow closely such a project. It could even interopt with node and npm but its not node! Given my opinions above it makes sense that i would advocate that a node beginner should start with the standard idioms: callbacks and streams. It might even make sense to make these documented as "the standard" on the site. However its possible that this is not the best solution for the person that asked the question, but then maybe that person shouldn't be using node and instead the brand new super cool thing someone will build. Or maybe he needs to learn how node works and then decide, by himself, that something else makes more sense. The ecosystem exists, it has an interoperability model, and works great for what node is for (check node success). Improvements on this model are possible (like streams2) but even those aren't without backlash. Breaking changes are also awesome, but its not node Nuno Ps. Cause this doesn't seem obvious to everyone, these are just my personal opinions. And I expressed them here mostly in respect to Bruno who did a blog post i thought was respectful and thoughtful, and i felt compelled to respond in the same manner. We have a great community and i respect a lot the work and passion community members put into their projects -- -- 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.
