On Thursday, we'll look at why that allows you to do lots of things more conveniently than you can do without mutation.
周四我们会探讨下,为什么这种可变性会让你,在进行很多操作的时候方便了许多。
These things run for variable amounts of time because they take input, a list of size of some amount.
而这一段的执行时间是可变的,因为它们需要输入一个包含一些元素的列表。
Well now we're going to talk about some mutable types. Things you can change.
那我们接下来要去学习一些可变的类型,我们以一个可能你们大多数人。
We talked about the inevitability of death; we talked about the variability, that people have different lengths of time before they die.
我们讨论过了死亡的不可避免性;,我们讨论过了其可变性,不同的人在他们死之前有所的时间长度不同。
So the big three People who are similar to you, people who are already familiar to you, people who are nearby in space.
三大可变因素,相似性,熟悉度,空间接近性。
What's variable about them is that they bind to a specific antigen.
它们可变的原因是,它们需要结合不同的抗原
There's something called "variable life," which refers to a life insurance policy where the policyholder can make decisions about the investment of the money in the whole life policy.
有种保单叫做"可变寿险",作为终身寿险的一种,投保人可以自主选择,在终身寿险上进行多少投资
But in fact, logically speaking at least, variability, although it's a requirement for unpredictability, doesn't guarantee unpredictability.
但实际上,至少在逻辑上讲,可变性虽然是不可预见性的必要条件,但是不可预见性却不是必然。
It's extremely powerful, but what we haven't seen yet is mutation.
这确实很强大,但是我们还没有说到可变性呢。
Now, you might think, ? well, didn't we already discuss that when we started thinking about variability?
现在你可能会想,我们不是已经谈过这个了吗,就在我们开始讨论死亡可变性的时候?
In our world, not only do we have variability, we've got unpredictability.
在我们的世界不仅有可变性,还有不可预见性。
In addition to the inevitability, in addition to the variability, in addition to the unpredictability, there's the fact that death is, as I like to think of it, ubiquitous.
除了不可避免性之外,除了可变性之外,除了不可预知性之外,还有个事实便是死亡,是无处不在的,正如我所想的那样。
But you see the difference. Great question, and a very important thing to understand, and that's why I'm belaboring this point, since this is where people tend to get pretty confused, and this is why mutation is very important to understand. Yeah.
但是你们已经发现区别了,这问题挺好的,并且有重要的一点需要我们去注意的是,人们经常对可变性这一点感到很迷惑,但是可变性是很重要的,我们需要理解它,这也是我经常强调这一点的原因。
And for that matter, there could still be variability.
虽然如此,这里仍然可以存在可变性。
But let's quickly talk about the big three.
首先,我们快速地说说三大可变因素。
We've had inevitability; we had variability.
我们讨论过了死亡的必然性;,死亡的可变性。
What about the variability of death?
死亡的可变性又如何?
Because notice that what remove did, it was it actually changed the list.
可变性了对不对?,请注意remove操作。
应用推荐