Right now, I have to take that piece of code and replicate it everywhere I want in my larger file.
现在我要把这段代码,复制到,大文件中的各个部分。
Well, the assignment operator makes a copy of the thing on the right and puts it in the thing on the left.
赋值操作符把右边的东西,复制到左边。
Take a plasmid, cut it open, insert a gene that we want into the plasmid, and then put that plasmid in a host cell, and let the host replicate it.
取一个质粒,把它切开,把目标基因放进去,然后把这个质粒植入到宿主细胞,让宿主来进行复制
I don't happen to like this, but he thinks that is, give a combination of a number multiplication in a string, this will in fact give us back a new string with that many replicas, if you like, of the string concatenated together.
我不喜欢这么做但是他认为,也就是说,返回一个字符串的,某个特定数字的倍数,这实际上会返回一个新字符串,一个原来的字符串的很多复制品,连接到一块的一个字符串。
Last time, I invited you to think about life on the experience machine, where the scientists are busy stimulating your brain in such a way as to give you an exact replica, from the insides of what it would be like having identical experiences to the ones you would have if you were really doing-- well, whatever it is that's worth doing.
上节课,我要你们思考,体验机里的生活,科学家们用它刺激你的大脑,给你一份完美的体验复制品,从体验相同的经历,到体验在现实生活中-,值得做的事情。
If I want a copy of the string, I've got to whip out my week 1 skills of just iterating with a four loop from left to right and make copies of those characters.
我需要那个字符串的一个拷贝,我使用,第一周的技巧,从左到右做四次迭代,然后复制这4个字符。
So the assignment operator thus far makes copies of things.
所以到现在为止,赋值运算符复制了很多数据。
Let's assume that we have this plasmid cloning vector and we have some pieces of DNA that we would like to put into a plasmid that we would like to make copies of.
假设我们已经有了克隆质粒载体,也有了我们想要将之,整合到质粒上的某些DNA片段,同时也是我们所要复制的DNA片段
And when you call a function, one of the things X that happens is whatever your passing in, for instance, X, ; and if this is A, this thing gets copied into A; so at that moment in time of calling increment, I actually have two copies of the same value in memory but they're referred to by different names.
当你调用一个函数,其中发生的一件事情是,不管你输入什么,比如,或者是A,它把这个东西复制到A中;,调用increment的时候,实际上在内存中,有两个同样的值的内存块,但是它们有不同的名字。
应用推荐