Ask HN: Why is Node.js Streams so underused? |
Ask HN: Why is Node.js Streams so underused? |
AFAICT there used to be more energy in the community for them. Gulp.js was conceived as more powerful build pipeline that used streams (https://github.com/gulpjs/gulp), and that's the last time I remember anybody getting psyched about streams as "more elegant" than a nonstream version (in that case, Grunt).
Now, I think people tend to reach for streams when there's a performance-based reason for it, since streams can do things like faster time-to-first-byte, and less memory overhead.