• OK. One of the other things you're going to see is that some of the operators have odd meanings.

    好,你们会学会的另外一件事情,是一些操作,有很奇怪的含义。

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

  • The syntax is OK in the sense of, it is an operand, an operator, an operand, so syntactically it's OK.

    这里的语法应该是好的,有个运算对象,一个运算,另外一个运算对象,因此语法上是没错的。

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

  • If you really want to be obnoxious, you can do this because really these operators just undo themselves, right?

    如果你的确有点反感,你可以这样做,因为这些操作可以撤销它们自己,对不?

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

  • So here I've written for the hydrogen atom that deceptively simple form of the Schrodinger equation, where we don't actually write out the Hamiltonian operator, but you remember that's a series of second derivatives, so we have a differential equation that were actually dealing with.

    这里我写出了,氢原子薛定谔方程的,最简单形式,这里我们实际上,没有写出哈密顿算,但是请记住那你有,一系列的二次导数,所有我们实际上会处理一个微分方程。

    麻省理工公开课 - 化学原理课程节选

  • Well, by some kind of conducting pattern.

    通过一些说明

    耶鲁公开课 - 聆听音乐课程节选

  • ArgC How many words were typed at the prompt, by default, Arg C, should always be at least one.

    提示那里默认要输入多少单词,至少需要一个单词。

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

  • OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.

    这将会是个默认的或者说是,通用的来比较对象是否相同的方法,好,在每个例子中,这些事情正在做的,就是,一些与操作重载有关的东西。

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

  • The semantics was what caused the problem, because the operator was expecting a particular kind of structure there.

    引起问题的是语义,因为运算需要的是,一种特定种类的数据结构。

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

  • Well, the assignment operator makes a copy of the thing on the right and puts it in the thing on the left.

    赋值操作把右边的东西,复制到左边。

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

  • When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.

    这个大于的操作的时候,是到类的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。

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

  • And that's really a placeholder for the comma-separated list of values that I put after those quotes.

    这其中还有一个逗号分开的有值的占位,我把它放到了引号之后。

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

  • PROFESSOR 2: -- other, it could have said - who or zort or -- PROFESSOR: Yeah, sorry, that was part of the question, I could have a picked foobar could put anything in here.

    教授2:另外一个对象?,这可以说是其他对象或者-,教授:对,很抱歉,这是问题的一部分,我可以写一个,可以放进任何东西的代用

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

  • If you're writing a one line function, whose sole purpose in life is addition, and, clearly, this is about addition, well, then it's, in fact, A reasonable to use a shorter symbol like A, but I do have to specify it's type.

    如果你在写一个一行的函数,它唯一的目的是,做加法,显然这是关于加法的,好的,实际上,用一个短的标识是合理的,像,但是我必须指明它的类型。

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

  • And one of the things neophytes trip over early on is that we'll soon see there's not only an equal sign operator, there's equals equals.

    这样我们还要引入了一个新的操作,我们将看到这里不仅有一个等号的操作,还有双等号。

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

  • So, I'm now multiplying by the result of calling the size of operator, which we've seen before.

    现在我乘以运算的大小,之前我们看到的。

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

  • So this is the equality operator, whereas the single equal sign is the assignment operator.

    所以这是相等操作,然而那个单等号是一个赋值运算

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

  • Because this is overloading that multiplication operator with two different tasks.

    因为这会造成使得乘法操作,对两种不同的任务造成重载。

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

  • What I want to point out also is that this h hat, the Hamiltonian operator written out for the simplest case we can even imagine, which is a hydrogen atom where we only have one electron that we're dealing with, and of course, one nucleus.

    我也想指出的是,我们能想到的最简单情况,的哈密顿算,是一个只有一个电子,也只有一个原子核的氢原子。

    麻省理工公开课 - 化学原理课程节选

  • The equal sign is really called the "assignment operator."

    那个等号其实是个“赋值运算

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

  • So the assignment operator thus far makes copies of things.

    所以到现在为止,赋值运算复制了很多数据。

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

  • Spelling. These are just dumb little things to look for. Did you spell all the identifiers the way you think you did. The problem is, when you read code you see what you expect to see.

    拼写错误,你可能得找找这些粗心的小错误,你是否拼对了标识,问题是当你阅读代码的时候,你看到的都是你以为的。

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

  • We have operations to associate with them.

    我们讲了和他们打交道的操作

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

  • And what it's saying semantically is, using that variable as my placeholder, have it walk through this collection, starting at the first thing, execute that code, then the next thing, execute that code, and so on.

    它的语义意思就是,把这个变量应用为我的占位,用它来遍历这个集合,从第一个元素开始,执行代码,然后下一个元素,再执行代码。

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

  • - And here as promised is that other operator -- looks a little weird, but because assignment is already using the equal sign to assign one value on the right to a variable on the left.

    在这里正像所承诺的那样,其他的操作-,看起来有点怪异,但是因为“=“已经被用来当赋值运算了,用来把右边的一个值赋值给左边的变量。

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

  • STUDENT: What does it mean, the operator used, when you were calculating the remainder between nine and five?

    学生:这是什么意思,当你用这个运算去算,9除以5的余数的时候?

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

  • So there are some downsides, in my view, to doing operator overloading, but there's some real pluses.

    它还可以应用于其他一些东西,因此这样做操作重载,就会产生一些负面影响了,以我的观点来看的话。

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

  • STUDENT: Standard order of operations, I guess take the multiplication first, and add the three.

    学生:标准运算的顺序,我猜是先做乘法,然后再去加3。

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

  • It's just a placeholder that says I don't yet know what I wanna put here but I wanna put something, let me get back to you in just a moment.

    它只是一个占位,告诉电脑,我想在这放一个东西,但是暂时还不知道放什么东西,我先打断一下。

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

  • This chart, very boring and uninteresting but useful to say there are very well defined rules as to when you're writing code, what operators, like what syntax should get evaluated first.

    这个图表,看起来很烦,很无趣,但是它很有用,有非常明确的规定,譬如,当你写代码时,就会涉及操作的优先级。

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

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

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

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