• What lambda that does, it creates on the fly a function, as the program runs. That I can then pass around.

    这里的入是在函数运行的时候,由一个函数创建的,然后我会传递这个值。

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

  • This is what's actually going to create the instance, instantiate it, create what the set of variable values are for it.

    这个声明在你,创建一个实例的时候,实例化这个实例,然后给这个实例。

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

  • We saw, associated with that primitive data, we have ways of taking data in and creating new kinds of data out, or new versions of data out, so we have operations.

    我们可以取得输入的数据然后创建新的类型的输出数据,或者新的版本的输出数据,这就是我们说的操作。

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

  • 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.

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

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

  • 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.

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

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

  • So now here's the idea. I build a list 256 elements long, and I fill it up with those special characters none.

    所以这里就是这种思想6,我创建了一个可以放下256个元素的列表,然后我以这些没有实际意义的字符将其填充。

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

  • 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.

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

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

  • This is a little file I created, all right, and I'm going to start with a sequence of these things and walk them along, again I invite you to put comments on that handout so that you can follow what we're going to do. All right?

    这是我创建的一个小文件,好,然后我回去以一系列这样的事情,开始然后进行下去,我还是想大家都在手册上做一些注释,这样我们就能对将要做的事情,做一个记录了,对不对?

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

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

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

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

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

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

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

  • And then to create the object, I'll simply do a set of inserts.

    我将此返回做为我的集合,然后创建对象,我会一系统简单的插入操作。

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

  • And then I'll create this function, d1 this distribution d 1, which will, whenever I call it, give me a random, a uniformly selected value between minus and plus volatility.

    然后我会创建这个函数,这个概率分布,每次我调用这个函数的时候,他会给我返回一个随机的,按照均匀分布,从正负浮动值之间选择的值。

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

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

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

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

  • And when I create a binding, x I'm taking a variable name, in this case x, stored somewhere in a table, and I'm creating a link or a pointer from that name to that value.

    当我创建一个绑定的时候,我有一个变量的名字,在这个例子中是,存在一个表中的某处,然后创建一个连接,或者指针从这个名字指向目标值。

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

  • What we're really getting at is the idea of saying I want to have a way of grouping together information into units that make sense. So I can go back to one of those topics we had at the beginning, which is the idea of abstraction, that I can create one of those units as a simple entity, bury away the details and write really modular code.

    组合成为有意义的单元,那么这就让我们回到,一开始讲的话题之一了,这就是抽象的概念,也就是我可以以一个简单的,实体的形式创建这样的一个单元,把具体实现隐藏然后写一些,真正模块化的代码,我们在以后的课程中。

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

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

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

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