tee() (original) (raw)
Kevin Bourrillion kevinb at google.com
Thu Jan 24 12:43:33 PST 2013
- Previous message: About the stream deduping method
- Next message: tee()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
tee() stands out like a sore thumb. I'm not surprised that Brian says "this method is mostly for debugging."
It just feels very, very strange to let the user inject a side-effect into the middle of their stream somewhere, for mysterious hidden later execution maybe.
If it really must stay, I think I do like "peek" or "observe" over "tee". But I would love to drop it.
-- Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com
- Previous message: About the stream deduping method
- Next message: tee()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list