• "It is a fact,unfortunately, that the word democracy has become a code word in recent years for regime change and maybe for armed intervention regime change, but at the end of the day, there is a core value that Americans have stood for, that we have to continue stand for, and we can't allow that as well to become a fundamental impediment to improving the relations we are talking about."

    VOA: standard.2009.04.24

  • I'm not going to do it for you, but what would I think about doing when I change the code?

    要改变代码应该做什么呢?,我不会帮你们做这些,但是我在改编代码的时候会想什么呢?

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

  • I want to show you how easy it is to change the code. But, notice, once I've added this I actually have a problem. This is now an under-constrained problem. I have more unknowns than I have equations.

    我加上这个条件后,我马上面临一个问题了,这就是现在是一个非约束性问题了,我的未知数比方程数多,你从代数中可以知道。

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

  • If I decide there's a better way to get input, and there is, then I can make it to change what I don't have to change the code that uses the input.

    如果我觉得有更好的获取输入的方法,我可以直接改去用这种方式,而不用更改使用了,输入处的代码。

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

  • I've simply added this one extra constraint, nice thing about thinking about it this way is it's easy to think about it, and what do you think I'll have to do if I want to go change the code?

    我已经加上这个额外的约束条件,思考这种方法有件好事,那就是以这种方式来思考很简答,你认为我要是想?

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

  • So you know from algebra I can't actually solve this. There may be multiple solutions to this. What would I have to do to change my code? And the answer is fortunately not a lot.

    我解不出来方程,可能会有多组答案,我需要怎样修改我的代码呢?,很幸运的,答案是不用修改很多。

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

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

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

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

  • What if I don't change the value of that variable inside of the code?

    那么如果在循环内部,我不改变这些变量的值会怎么样?

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

  • Another way of saying it is, anything that uses get float doesn't care what the details are inside or shouldn't, and if I change that definition, I don't have to change anything elsewhere in my code, whereas if I just have the raw code in there, I have to go off and do it.

    换种说法就是,任何用到获取,输入这个功能的人不用担心具体的实现细节,如果我改变了这里的实现,我并不需要去改变我的代码,因为我的最底处的源码就在这里,我去改这里就可以了。

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

  • res Because the code doesn't change res.

    因为这些代码没有改变。

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

  • But here, if I decide I'm going to store things not in x and y, but with some other set of names, for example, I've gotta go back into these pieces of code that use the points, and change them. So I've lost modularity.

    除了要改下借口,但是这里,如果我决定,我不把值放在x和y中,而是和其他一些变量名进行绑定,例如这样的话,我就得回到使用这个点的代码,那儿去做更改了。

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

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

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

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