-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
举例来说
id=optional类
原文(加黑字段):
Before we can look at terminal operations, we must consider what happens if you ask for an object in a stream and there’s nothing there. We like to connect up our streams for the “happy path” and assume nothing will break. Putting a null in a stream is a good way to break it. Is there some kind of object we can use that will act as a holder for a stream element, but can also kindly tell us (that is, no exceptions) if the element we’re looking for isn’t there?
翻译:
-
我们喜欢为了“happy path”而将流连接起来
评论:这里的happy path应翻译成:我们希望将所有的steam对象轻松地连接起来,而不会出现什么异常。
happy path应该作为副词,形容操作本身,而不是作为连接的节点。 -
可作为流元素的持有者
评论:Holder应该作为容器来解释更为妥当。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels