• But this choice of names, both for my functions and also for my parameters or my variables is completely up to me.

    但是这个名字的选择,包括我的函数名,和我的参数名,或者变量名都是我定义的。

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

  • And when you declare a variable, whether as an argument or as literally a local variable, they only live inside of that function.

    当你声明一个变量,不论是一个参数,还是一个局部变量,它们只存在函数的内部。

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

  • Now if you call a function, swap like increment or cube or swap, or in this case, foo, those variables are the parameters to that function, end up getting stored next in memory.

    现在如果你调用一个函数,像increment或者cube或者,或者在这个例子里,foo,这些变量都是,函数的参数,在内存中存储。

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

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

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

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