• So the first thing we'll do is, we'll print the element, in this case it will be a list right? Because it's a list with two lists in it.

    因此这儿我们做的第一件事,就是要显示元素,在这儿元素就是数组了对不对?,因为这个数组包含了两个数组。

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

  • I'm thinking about a problem, I'm going to show you an example in a second, first thing I'm going to do is say, what is the thing that's going to change every time I run through the same set of code?

    解决一个问题,我马上会让大家看一个例子,第一件我做的事情就是,弄明白每次运行同样的指令集时,每次都会改变的东西是什么?

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

  • So the first thing we're going to do today is look at a different form of competition which is called Bertrand competition.

    所以今天我们做的第一件事,就是来学习一个不同形式的竞争,叫伯川德竞争

    耶鲁公开课 - 博弈论课程节选

  • So the first thing I'm going to do is, I'm going to try and return the value in the memo.

    所以我做的第一件事,就是我将会尝试将,总价值返回到memo中。

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

  • All right. First thing we need to do is have some sort of a theory.

    好了,我们做的第一件事就是,有一些理论。

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

  • So first thing we should do is scratch our heads and see what's going on here. Alright, let's look at it. What's happening here?

    所以我们做的第一件事,就是抓抓脑袋看看发生了什么,好了,让我们来看看,这儿发生了什么呢?

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

  • Whenever I think about how to build an interesting program, and I hope whenever you think about it, the first thing I think about is, what are the classes I might want to have, what are the types?

    无论我何时,去想怎样建立一个有趣的程序,你们每次做这种思考的时候,你们想得第一件事,就是我应该有什么类呢,它们是什么类型的呢?

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

  • OK. So to do this, we're going to have to do a couple of things. All right, the first one is, what do we mean by input size?

    好,为了实现这种方法我们,有些事情做,第一件事情就是,当我们说到输入的大小的时候代表了什么呢?

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

  • I want to talk a little bit about how you use the things we've been building in terms of functions to help you structure and organize your code.

    第一件事情就是谈下,怎么利用我们,所做的能在方法方面,帮助你们组织和优化代码。

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

  • So if I were to solve this problem, here's the way I would do it. I would say, first thing I want to do, is I want to input a value for the base as a float.

    如果我想解决这个问题,这就是解决它的方式了,第一件我做的事情就是要,输入一个浮点数作为三角形的底。

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

  • or at least one mechanism, I shouldn't say -- the only one-- one mechanism for doing that is going to be to add functions is that it's going to provide both of these things, so the first thing it's going to do is, it's going to let us break up into modules.

    我们处理这些的机制--至少一种机制,我不会说只有一种,一种机制是在我们的语言中增加函数,函数的关键是它提供分解和抽象,所以第一做的事,就是将代码分解为模块。

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

  • But notice what this does. The first thing it does is, it says, let's check and make sure x is greater than or equal to 0. If it isn't, notice what's going to happen. None of that block is going to get executed, and it's going to come down here and print out a useful piece of information, which says, hey, you gave me a negative number. I don't know how to do this.

    做的是和以前一样的事情,但是注释它做了什么,第一件做的事情就是,程序说,去检查并且确信x是大于等于0的,如果不是的话,请注意会发生什么,下面的代码都不会被执行,程序会到这里来然后显示一些有用的信息,信息会说,嘿,你给了我一个负数,我不知道该怎么弄这个了。

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

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

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

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