Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up`readArray` and `writeArray` are confusing names? #50
Comments
This comment has been minimized.
This comment has been minimized.
|
|
right9ctrl
closed this
Sep 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bewest commentedJan 26, 2014
What do you think of aliasing them to
headorprimeandtailorcollect, respectively.It's not clear from the method names or the docs what these do, but they are common use cases:
endeventI'm catching a lot of authors still attempting to manage
on.data(function (data) { results.push(data); })and similarendstanzas by hand instead of using these friendly methods and simply pipelining appropriately configured streams. My proposal is that somehow making these two methods more clear in particular would help people.