One more pass on flatMap/mapMulti (original) (raw)
Brian Goetz brian.goetz at oracle.com
Thu Jan 10 09:35:51 PST 2013
- Previous message: One more pass on flatMap/mapMulti
- Next message: One more pass on flatMap/mapMulti
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I like the idea that whatever is passed to the block describes the downstream; the role of the block is to emit values downstream. I think that makes things clearer about what's going on, which is good because what is going on is already not all that clear.
I buy that "Downstream" could use some nounification. (Calvin say: verbing weirds language.)
DownstreamCollector DownstreamAcceptor DownstreamHandler
accept() is OK, and we can make it extend Block.
On 1/10/2013 12:28 PM, Tim Peierls wrote:
On Thu, Jan 10, 2013 at 11:59 AM, Brian Goetz <brian.goetz at oracle.com_ _<mailto:brian.goetz at oracle.com>> wrote:
Bikeshed discussions can continue.
OK, then! :-) The method name "send" is OK, but you wouldn't be seeing it in the signature of explode. What you would see is Downstream, which still bugs me. The word "downstream" is an adverb or adjective, not a noun. Things are sent downstream, they aren't sent to a downstream. Was Acceptor.accept proposed and rejected already? If so, why? I would understand explode(BiBlock<Acceptor, T>))_ --tim
- Previous message: One more pass on flatMap/mapMulti
- Next message: One more pass on flatMap/mapMulti
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list