you could characterize them in terms of how they're gated, -- and basically how they open or close -- that's one way to talk about different types.
你可以通过闸门的类型来描述它们,这基本上也就是看它们是如何打开或关闭的-,这是一种讨论不同类型的方法。
We want to do the same thing, but with our data types.
我们想要创建数据类型和函数,或者我们会叫他们方法。
One way of thinking about the metaphor of city and soul together is to think of it as a particular kind of causal hypothesis, about the formation of both individual character and political institutions.
思考城市与灵魂结合的方法,是将其想象成,是一种特别类型的,因果假说,关于形塑,个人性格与政治制度。
They grew the virus in monkey cell cultures, they purified the virus because you got to get all the other stuff from the cells that you're growing it in a way, they inactivated it by treating it with formalin which is just a formula-- it's just a mixture of Formaldehyde; Formaldehyde cross links proteins.
研究人员将病毒种植在猴细胞内,进行培养,并提纯病毒,在某种程度上,通过这种方法,可以得到所有类型的病毒,研究人员用福尔马林,处理病毒,使其灭活,福尔马林就是甲醛的水溶液,甲醛可以使蛋白质发生交联反应
We've got what's called type conversion.
我们用到了被称作类型转换的方法。
What we're saying is, in order to do computation, we want to describe recipes, we want to describe this sequence of steps built on some primitives, and we want to describe the flow of control that goes through those sequence of steps as we carry on So the last thing we need before we can start talking about real programming is, we need to describe those recipes.
我们在说,为了做计算,我们想描述一个方法,想描述建立在,相同基本类型上的步骤序列,而且我们想描述经过我们设计的,步骤的序列的,控制流程,因此我们开始谈论真正的编程之前,的最后一件事是,我们需要描述一下那些方法。
Sometimes the functions -- sometimes a function can be used on multiple data types, plus, for example, we saw could add strings, or could add ints, but each one of those data types has associated with it a set of functions that are geared to handling them.
比如说,我们可以对string类型,进行add操作,也可以对int类型进行这个操作,但是这些数据类型中的每一种,都与适合于操作它们的,方法集相关联,我们想对我们创建的数据,类型做同样的事情。
应用推荐