• So the open curly brace followed by the closed curly brace means everything inside of these curly braces should get executed, but only if that first condition is actually true.

    所以左花括号后面跟着,右花括号,这意味着花括号里面所有的代码,都应该是要被执行的,但只有当第一个条件正确的

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

  • You put some inputs in, it has a contract that says if you put the right kind of inputs in you'll get a specific output coming out, but you don't have to know what's inside of that box.

    你可以将输入一些内容,它相当于一个条件合约,如果你的输入是正确的,你就能得到特定的输出,但是你不知道盒子里面有些什么。

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

  • And, if the conditions are right, they will combine, fuse and form darmstadtium plus neutron.

    如果条件正确的,它们将会结合,融合并形成鐽中子。

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

  • Well, it turns out that if you want to check two conditions and you only care that one of them is true or the other one is true.

    好的,结果是如果你想要核对两个条件,你只关心其中一个是正确的,或另外一个是正确的

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

  • So the basic idea was fine, but I failed to satisfy the initial condition that the answer had to be between the lower bound and the upper bound. Right?

    因此基础的思想是对的,但是程序没能满足,正确答案在给定的区间内这个条件,对不对?

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

  • It's going to do the right thing.

    一些必要条件的它能做正确的操作。

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

  • Computing square root. I'm going to capture it in a piece of code, I'm going to be able to refer to it by a name, and I'm going to suppress the details, meaning inside of that computation, you don't need to know what it does. You just need to know, if I give it the right kind of input, it'll give me back an input that satisfies the contract that I set up.

    比如计算平方根,我会用一段代码来说明,我将给它命名,并且忽略细节,意思就是在这一段计算过程中,你不用知道它做了什么,你只需知道,如果我进行了正确的输入,它将会给我符合条件的输出。

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

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

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

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