And I want to stress this, we're going to come back to it later on in the term, so the way I'd like you to think about it for now, is that somewhere in the machine, there's a big space that contains all possible values.
我想要强调一点,我们在晚些时候,还会回头来讲这一点,因此现在,我需要你们形成这么一个观点,就是在计算机的某处,有一个包含了所有可能值的,很大的空间,好。
What conclusions would we come to about the nature of death if we had to think about it from a secular perspective?
我们能得出关于自然死亡的什么结论,假如我们必须从,世俗的观点考虑它呢?
It could be multiple versions. And we're going to come back throughout the term to think about how to code programs that reflect this.
可能是一种形式也可能是多种形式,我们再回到递归这个术语上来,用它来思考怎样编出。
It's a wonderful case to think about and indeedly, I'm gonna come back to it.
这个案例非常有思考价值,我稍后还会继续讨论。
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
应用推荐