Yeah I agree with Eldar personally, it's not a great user-level API, and the stream API we have in node right now is really error-prone to and overly complex to work with, hiding them whenever possible is definitely the way to go, there's nothing I've been happier avoiding in node so far!
On Tuesday, 2 July 2013 09:46:29 UTC-7, Eldar wrote: > > I came to the value that the best thing to deal with node streams is not > deal with them at all. > Wrap them as soon as possible, do not pass them around, do not > build abstractions on top of them. > It is a super complected thing capable of what? You even can't do > `send(file)`. Just can't. > There are already tons of libs relaying on `req.pipe(res)`. But that's > just a myth. It never was save. > -- -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com 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 nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.