• Takes a start and an end point, just going to bind local variable names start and end to those pieces.

    有一个开始和结束点,就是去把局部的变量的名字,和这些点进行绑定。

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

  • And the only thing that's differing is the name of the type and the name of the variable I'm using.

    其中唯一的区别是数据类型的名字,和我使用的变量名字

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

  • I'd really like to have that modularity that says, I'm only going to get access to the values, not by calling their names, but by calling some specific method to get access to their names.

    这样我们就丢掉了代码的模块化,我很希望代码有这样的模块化:,我访问变量的值,不是通过直接调用它们的名字,而是通过调用某个可以,访问这些变量名的方法来访问。

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

  • We'll see that there's actually compelling use cases for using the same names of variables in different context's.

    我们将看到这是一个在不同环境中,使用相同名字变量的,一个案例。

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

  • And that's fine, because inside of curly braces can you redeclare variables with the same name if you intend to quote unquote shadow the previous variable.

    那是可以的,因为,在花括号里面,你可以重新定义一个,相同名字变量,如果你想引用之前的变量

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

  • So each instance has some internal, or will have some internal attributes.

    一些变量名字,对不起不是这样的。

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

  • OK. The other piece I want to say about variable names is, once I have that choice of variable name, I can use it, but in fact there are a few things that I can't use in terms of variable names.

    关于变量名字我还想说的,另外一点就是,一旦我对变量的名称可以选择,我可以用自己的方式命名,但是,有一些词汇是,不能用来命名变量的

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

  • name So it's-- the name of the variable is name.

    即,变量的名字就是。

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

  • All right. Second question: or maybe a better way of saying this, and the general format you're likely to see here is, a test involving a variable name, which must be initialized outside of the loop, and which interior to the loop gets changed, so that the test is going to change.

    好,第二个问题:,换种更好的方式来说吧,你们通常喜欢的,方式是,这个测试涉及到一个变量名字变量在循环外已经被初始化,然后循环内部会改变这个变量的值,因此测试结果会改变。

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

  • And when I create a binding, x I'm taking a variable name, in this case x, stored somewhere in a table, and I'm creating a link or a pointer from that name to that value.

    当我创建一个绑定的时候,我有一个变量的名字,在这个例子中是,存在一个表中的某处,然后创建一个连接,或者指针从这个名字指向目标值。

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

  • Use variable names that make sense.

    尽量用有意义的变量名字

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

  • I can't use it as a variable name.

    我不能把它当做变量的名字

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

  • When you declare a pointer yourself manually, you do say char * the variable name because recall that's the same thing that we did earlier but we called it instead string.

    当你手动声明一个指针是,你可以说char,*,变量名字,因为那是我早些时候做的事情,但是我们叫它为字符串。

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

  • I need to now put this float somewhere, and I'll put it in a variable called f that you can call it whatever you'd like.

    我现在需要把这个浮点数放在哪个地方,然后我把它放在,一个叫做f的变量里,你也可以给这个变量取其它的你喜欢的名字

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

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

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

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