• OK. So if we have variables, one of the questions we can ask is, what's the type of the variable.

    好,如果我们有了一个变量,我们要问的问题之一就是,这个变量的类型是什么?

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

  • That's not just a set of functions--variables, as one might say in the lab.It's produced by genius.

    它不仅仅只是一套机器,像人们在实验室所见的一样多变,它是由天才创作的。

    耶鲁公开课 - 文学理论导论课程节选

  • So the state variables describe the equilibrium's state and they don't care about how this state got to where it is.

    状态变量,描述平衡态,它们并不关心,系统是如何演化成这样的。

    麻省理工公开课 - 热力学与动力学课程节选

  • The Taylor rule specifies specific variables and everybody at the markets would understand the rule, ? and that's correct, right?

    像泰勒规则就明确了具体的变量,市场中每一个参与者也都能够理解,这个没错吧?

    斯坦福公开课 - 经济学课程节选

  • It turns out that slightly before the stack, slightly before this conceptual chunk of memory, there's other things called environment variables that we may see over time but elsewhere in memory are other things.

    结果是稍微在堆之前,稍微在这个内存块概念之前,另外还一个东西叫做环境变量,我们之后可能看到,内存中的其他地方,是其他的东西。

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

  • So when I do the analysis, I want to think about what am I doing here, am I capturing all the pieces of it? Here, the two variables that matter are what's the length of the list, and how many times I'm going to search it?

    这里,要关注的,两个变量是列表,的长度以及我要搜索的次数,这种情况下,这个算法赢了?

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

  • We have instead what's called a probability density when we have continuous random variables.

    所以我们用概率密度的概念来描述,连续型随机变量的情况

    耶鲁公开课 - 金融市场课程节选

  • So, let's go ahead and define our variables here, they should be familiar to us. We have the mass, first of all, me m is equal to m e, so that's the electron mass.

    让我们继续定义这些常数,我们对这些应该都很熟悉了,首先,我们有质量,m等于。

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

  • Now, this is still a little bit cumbersome, in part because of the variables involved, S including S.

    但是这个方法还是有一些笨拙,部分是因为所涉及的变量,包括。

    麻省理工公开课 - 热力学与动力学课程节选

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

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

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

  • I want-- I know I'm running you slightly over, I want to do one last example, it's, I also want to be able to do, have variables to store things.

    我想-我知道讲的有点多了,我想给大家看最后一个例子,这里我想做的是,通过变量来存储东西。

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

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

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

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

  • Conceptually, it's put at the top of my chunk of RAM, -- below it, goes initialized and uninitialized data -- - this is a fancy way of saying global variables come next -- and below that, comes what's called the heap.

    概念上,它放置在内存块的顶端,在下面,已初始化的和未初始化的数据-,这是一种指明紧随其后的全局变量的设想方式-,在后来,引入了一个叫做堆的东西。

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

  • And so we saw that as well, the last piece we had here is the ability to create variables, which have their own values, and that's done using an assignment statement.

    我们也可以看到,这里我们最后的是,创建了一些变量,这些变量都有自己的值,这是运用了赋值声明来完成的。

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

  • So, conceptually if you've ever wondered why you get access in all of your functions to global variables that's because they're not down here, they're at the very top of RAM and any function can access that RAM way up there, but for now the interesting player in the story is this thing called the heap.

    所以,如果你想知道为什么全局变量能在,所有的函数中使用,那是因为它们不在这下面,而是在内存的顶端,那样任意函数都可以在内存中使用它们,现在,这里面一个有用的角色是,叫做堆的东西。

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

  • And just as with variables, you should use some common sense, some style here, and the function's name should X Y communicate what it does, calling it X or Y or Z is generally not all that helpful.

    就像变量,你使用一些常识,一些类型,和函数名需要,传达它所做的事情,把它叫做,或者Z通常是没有什么用处的。

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

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

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

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