• When I call or invoke a function, think of it as creating a local table.

    当我调用一个函数时,想象一下是在这里创建了一个局部表。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • x It says, take the name x and create a binding for that name to the value of the sub-expression and in fact to do this, to stress a point, let's do that.

    的意思是,创建了一个名字,然后创建了对于这个名字,和子表达式的值的绑定,实际上这么做,我们是为了,要强调一个点,让我们来说说这个点。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • hi3 Whereas Hi3, I just created, it happens to live in this directory but my computer doesn't know that so you do dot slash which says current directory.

    至于我刚刚创建的,正好位于我电脑不知道的位置,所以你必须敲入,/,这代表当前目录。

    哈佛公开课 - 计算机科学课程节选

  • And many people have taken this and they have created workshop for what they are doing.

    很多人借助,创建工作室。

    哈佛公开课 - 幸福课课程节选

  • It's like a Savings and Loan Association except that credit unions are created by some entity, some club or group, and they're not open to the whole public.

    这有点像储贷协会,不同点在于,信用合作社是由某个独立群体所创建的,比如社团或集体组织,不面向整个社会公众

    耶鲁公开课 - 金融市场课程节选

  • In a compiled language, you have an intermediate step, in which you take the source code, it runs through what's called a checker or a compiler or both, and it creates what's called object code.

    而在编译语言里,你就会经过一个中间的步骤,在这种语言里输入源码后,先经过过滤器,或者编译器检查后,创建一个叫做目标代码的东西。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • self y Notice what I also do here, I create self dot y, give it a value, and then, oh cool, I can also set up what's the radius and angle for this point, by just doing a little bit of work.

    创建了,然后给赋值,然后,噢太酷了,通过做一点额外的工作,就可以得到点的半径和角度了,好,实际上如果。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Remember we said we design lists so that the access, no matter where it was on the list was of constant time.

    记住我们说过我们创建了,一个列表就是这么访问的,无论在列表的哪个位置。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Is is essentially saying, given 2 things, do they point to exactly the same referent?

    或者换种思考的方式,大家记得我说过当我们,调用类的定义声明的时候,创建一个实例?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Let me give you, I'm going to create, q a polar point, I'm going to call it q, and we'll give it some random values.

    让我给大家讲解下,我要去创建,一个极坐标点,然后我会去命名为,然后我给赋一些随机的值,好,现在我想知道。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • x Inside of that structure, create a variable name x, and a value associated with it.

    创建了一个变量名为,然后给赋值,请注意我也在这边做的操作。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So in fact what happens inside of an object-oriented system, and particularly in init Python's object-oriented system, is the following.

    面向对象系统的内部,尤其是在Python的面向,对象系统的内部的过程,就是如下的,当我们调用,会去创建一个实例。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Right now it's a simple template, but it's a template for creating what a class looks like, and I now have an x- and y- value associated with each instance of this.

    那么大家明白了为什么,我说类是一个模板了,对不对?,现在只是一个简单的模板,但是是一个用来-,创建形成一个类的模板。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.

    这是很棒的一件事情,因为让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Then when I create the stock, here, I can pass it in, pass in d 1.

    然后当我在这里创建stock的时候,我可以给赋值,把d1赋给

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And I'm going to initialize it, create them, with an opening price.

    我要对进行初始化,给们一个初始价格然后创建它们。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • This is a keyword to Python that says, when it reads this in the file, it says, I'm creating a definition.

    这是Python语言的关键词,当你在文件中读到这个词的时候,的意思就是我正在创建一个定义。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So, what's the idea? If I know what my hash function does, it maps, in this case characters into a range zero to 256, which is zero to 255, I create a list that long, and I simply mark things.

    我知道我的哈希函数做什么,在这个例子中,将字母,映射成0到255的256个数字,我创建了一个这么长的列表,并且我只是简单的标志这些东西。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Once I've got that, I can now start giving some variable names, sorry not, rephrase that, I can give some attributes, I can give some characteristics to these classes.

    还有个指向内存中地址的指针,我还可以命名这个指针,因此cp1和cp2都是,指向们的指针,一旦我创建类,我就可以开始赋予。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Inside of solve, solve creates an environment where inside of that, it has bindings for the parameters it's going to use. All right?

    在solve内部,solve创建了一个环境,在这个环境中给她要使用的形参赋了值,明白吗?就像很多--等等?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So, for example, if I say TEST and I don't give it a start but I give it an end, then it gives me all the elements up to that point.

    例如,我创建了TEST这个元组我没有给他,起始点却给了一个结束点,然后程序会基于这一点放置所有的元素。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定