• And in the process of tidying it up and making it prettier, I'll often by accident find the bug.

    让我的程序更漂亮些,在这个清理美化代码的过程中,我常常无意中发现我的错误。

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

  • What I'm more interested in here than in the result of the simulation, is the process of creating it.

    然后你们可以进行思考,我对这些过程,比对仿真程序的结果更感兴趣。

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

  • Alright, so maybe a little underwhelming and we saw already what this program is going to do but let's just go through this process once before we start doing more interesting things and then we'll come back and at least give you a hint of what some of these syntactic details are doing.

    好吧,这个程序也许太平庸了,让人印象不够深刻,我们也知道这个程序是干嘛的,在我们开始更有意思的事情之前,让我们再来讨论一下整个过程后再回来,这些语法细节到底是在做什么呢?,先给你们一点小小的提示。

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

  • And if the test is true, it will change the value of this program counter to point to some other place in the memory, some other point in that sequence of instructions, and you'll keep processing.

    如果测试结果为真,它会改变程序计数器的结果去,指向记忆存储器里的其他地方,指令序列里的其他地方,然后你会继续这个过程

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

  • Because it says, your program will still give you a value, but it may not be what you intended, and you can't always tell, and that may propagate it's way down through a whole bunch of other computations before it causes some catastrophic failure.

    因为这意味着,你的程序依然会返回一个值,但是这个值可能不是你想要的,你可能还分辨不出来,而且这种情况会传播,结果会沿着正果计算过程传播下去,直到产生一个灾难性的错误。

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

  • What that means, in a stored-program computer, is that I can provide to the computer a sequence of instructions describing the process I want it to execute.

    它的意思就是说,我可以给一个存储程序计算机,提供一系列,描述我希望,能执行的过程的指令。

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

  • And that's basically the process of ascertaining why the program is not working.

    这其实是一个查明为什么程序,不运行或者不按期待中运行的过程

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

  • Imperative knowledge is a description of how to deduce something.

    程序性知识是,对推论过程的描述。

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

  • I stress it in particular because I know you're all going to get into this stage; you've got a problem set due in a couple of hours, you're still writing the code, you don't want to waste time, and I'm going to use quotes on "waste time", doing those extra things to do the defensive programming, you just want to get the darn thing done.

    我特别强调了这一点,因为我知道你们都会慢慢成为程序员;,你在写代码过程中造成了一系列的错误,你还在写代码,你不想浪费时间,我想把“浪费时间“用引号圈起来,浪费时间来做因为防卫性程序设计,而带来的这些额外的事情,你只想赶紧把程序写完,这不是一个好习惯,因为当你做完回头。

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

  • Second thing we've got to worry about is, what's a basic step? All right, if I bury a whole lot of computation inside of something, I can say, wow, this program, you know, runs in one step. Unfortunately, that one step calls the Oracle at Delphi and gets an answer back. Maybe not quite what you want.

    我们需要担心的第二件事情就是,什么该作为一个基本的步骤呢?,如果我把一大堆的计算过程放到里面,我可以说,噢,这个程序你知道的,一步就完成了,不幸的是,这一步可能要靠预言家才能得到答案,这可能跟你想要的结果不太相同吧。

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

  • So it's got an internal procedure,internal function, local to the unit test, that runs the simulation.

    它有内部过程,内部函数,它对unit,test来说是有本地环境,来支持股票仿真程序的运行。

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

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

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

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