If they're going to survive thinking about this case at all, we need to throw in a no branching rule.
如果要让这个案例说得通,我们必须加入无分支规则。
STUDENT: PROFESSOR: Yeah. There's a branch we could finish here, but since we're out of weight we sort of know we're going to be done.
学生:【听不见】,教授:是的,我们可以在,这个分支结束,但是因为我们重量超标了,我们知道我们只能结束。
There are so many other constructs like loops and conditions and such, so what I thought we do in conclusion today is look at this program.
这里有很多其他结构类型如循环控制,条件分支等等,所以我觉得应该,以这个程序作为结束。
Given the no branching view,the no branching rule, we can say,in the ordinary case,look, there really wasn't anybody imprinted with my memories and desires in Michigan.
在这个无分支这个规则下,通常的案例下,我们能说,密歇根并没有人植入了我的记忆和欲望。
I'm much better having an exception get handled at the time of input than to let that prop -- that value rather propagate through a whole bunch of code until eventually it hits an error 17 calls later, and you have no clue where it came from.
不是我期望的格式,这时我最好有一个异常处理,而不是让其传下去,这个值传到代码的整个分支,最终会导致一个错误17调用的发生,并且你不知道这个错误是哪里来的。
Now, the decision tree, if I branch left, it's a binary tree.
现在,这个决策树,如果我走左边的分支,这是一棵二叉树。
So to really add to this, we need to have branching programs.
因此为了实现这个功能,我们需要分支式程序。
But since we're especially interested in beings like us, people, this topic, this sub-specialized version of the question of identity, gets discussed under the rubric of the topic, personal identity.
由于我们对我们这种生物十分感兴趣,也就是人类,这个话题,属于同一性话题下的分支问题,通常会放在某话题的标题下讨论,也就是个人同一性
The problem with--what drove the personality theory into the no branching rule, implausible as it may be,was the fact that your personality is like software,and it can be copied.
看似不可能,但将人格理论,拖入无分支规则的问题就是,人格可被拷贝这个事实。
So,if you're not willing to accept the no branching rule, if it strikes you as a bizarre thing to throw in to personal identity, maybe you need to reject the personality theory.
所以若你不愿意接受无分支规定,如果你觉得这个人认同感里很奇怪,也许你就需要否决人格理论了。
We've seen this branching construct in Scratch, we've seen it a moment ago on the slide, and see, we just need else if to use not an else, not just an if but an else if.
我们看到了这个Scratch的分支结构,我们看到刚才在幻灯片中,了解到,我们不需要,用一个else,也不只是用一个if,而是用一个。
So although the personality with no branching rule avoids the problem of what to say about duplicates, by saying when there's branching,neither of them is Shelly Kagan, the branching rule itself seems very counter-intuitive.
所以纵然带有无分支规定的人格理论,避开了关于复制的问题,说当出现分支时,Shelly,Kagan就不复存在了,这个无分支规定本身就很反直觉。
Is the first part. That says, I took the branch through here that eventually got to the end and said, there wasn't a solution, in which case I'mgoing to print out, there ain't no solution, otherwise I'll print out the pieces. All right, let's check it out. Ah, what did I say?
我是否返回了特殊的none值?是第一部分,这里的意思是我从这个分支,走到这儿最终走到最后,并告诉我这条路没有解决方案,也就是我想要打印的结果,没有符合的结果,否则我会把它们输出来?
应用推荐