• Having now used this pseudo code to line things up, I can start putting some additional structure on this.

    用伪代码把这些事情串起来后,我可以开始进行,一些结构方面的优化了。

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

  • You answered that you majored in course 2. It sounds like a secret code to outsiders.

    你刚才回答你的专业是课程2。这在外人听起来就像是秘密代码一样。

    MIT用数字说话 - SpeakingMax英语口语达人

  • This seems a little weird, but bear with me for second, in fact, I've given you a little piece a code to do it, which is the next piece of code on the hand out.

    这看起来有点奇怪,但是先听我说,实际上我给了你们一段做这件事的代码,就是发给你们的纸张的下一段。

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

  • And for a couple of reasons, one this is the first P set where we're actually gonna give you code to work from.

    由于一些原因,这里是第一个习题集,在此我们提供了一些代码供大家参考。

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

  • I think it's really, really important to write it out or to draw it out or to code it.

    我觉得将点子写出来,画出来,编制出来,真的很重要。

    斯坦福公开课 - Twitter之父Jack.Dorsey演讲:好奇和灵感的力量课程节选

  • So, one simple way to code intensity is the number of neurons firing; the more neurons the more intense.

    影响反应强度的一个简单因素,就是产生神经冲动的神经元数量,神经元越多,反应强度越大

    耶鲁公开课 - 心理学导论课程节选

  • In the code of conduct, professional conduct, that we embody by this code here is comparable to what you are expected to adhere to in your professional lives.

    在行为准则中,专业准则,这个准则所体现的相当于,你所期待去追求的,在你的专业生活中。

    麻省理工公开课 - 固态化学导论课程节选

  • And the second thing that we talked about is this idea that we want you to in fact learn how to relate a choice you make about a piece of code to what the efficiency is going to be.

    关于这个方法第二件事,就是我们实际上希望,你在写代码的时候,能做出优化效率的选择,因为此。

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

  • OK? And in fact, if you look at the code up here, and it's on your handout, the very first one, x 1, right here- if I could ask you to look at it-- is a piece of code to do it. And I'm less interested in the code than how we're going to analyze it, but let's look at it for a second.

    实际上,如果你看看,你们课堂发的材料上面的代码,第一页上的,就是那-,大家请看看实现的这一部分代码,我不太关心,我们会怎么解释这个代码,首先让我们先看看。

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

  • So what you typically do and a hash case is you design your code to deal with that.

    你所需要做的就是通过设计你的代码,来解决上面的问题。

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

  • So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.

    所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。

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

  • You've got to do it above this chunk of code, you've got to do it inside this chunk of code.

    你不得不在一大段代码之上来实现它,你不得不在一大段代码之内来实现它。

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

  • I can't rely on Professor Guttag if I give this- if this code to him, I can't rely on him to type in a float. Actually I can, because he's a smart guy, but in general, I can't rely on the user-- I wouldn't do it right to see if you did.

    当Guttag使用这段代码的时候-,我不能相信他一定会输入一个浮点数,实际上我能因为他很聪明,但是总体上来讲,别相信用户一定会按照规则来-,我会故意做错来试试你的程序的。

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

  • And they're awfully simple because, all I can do now, is decide whether to execute some piece of code or another.

    它们之所以太简单的原因是:,现在我能做的,就是,决定执行一块代码或者执行另外一块。

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

  • In fact, this example would compile because you can use curly braces in this way to encapsulate lines of code, but realize for now, that, not good.

    实际上,这个例子可以编译,因为你可以用这种方式来压缩代码行,但是请认识到,那个,不太好。

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

  • And then what I get to do inside the curly braces is literally line by line enumerate the cases that I want to apply to the following code.

    然后我们在花括号中要做的是,逐行地列举接下来我想要,应用的代码。

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

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

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

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