And here, I'm going to suggest we've seen numbers, we've seen strings, and I'm going to add Booleans here as well.
我要提醒下大家我们学习过数字数据了,学习过字符串了,今天还要学习布尔类型,这是当我们谈到条件的时候。
This opens a question wide for the respondent to really given any type of response.
这一句型的回答是开放式的,对方可以给出各种类型的回答。
int So, primitive type besides those three types, we have ints which are just integers which are similarly 32 bits.
除了这三种类型外,还有一种最原始的数据类型,32比特整数。
If somewhere later on in the code it shifts to string, I might not be manipulating that and getting actual values out, but not what I wanted, and it's going to be really hard for me to chase it back.
然后后面的一些代码,把变量类型变为了字符串,我可能不会通过实际操作,去取得实际的变量的类型,但是这并不是我想要的类型,而且对我来说把类型,变回去也很困难。
It's not always how fast you throw the fastball, sometimes it's your different styles or the different ways that you decide when to throw what.
这不总是你投出,棒球的速度有多快,有时这是你投球的类型,或者你决定采用的投球方式。
So then to encourage you to "Pump up your room" they had music playing and this is the kind of music that they had on that flatbed truck.
然后还鼓动你去"律动你的房间",他们还放着音乐,这就是他们在那辆卡车上播放的音乐类型
So this is the same kind of picture we drew last time.
这和上一讲的图像是一个类型的
If I am going to use this for my child Are there different types of children being represented I have several parents who come to me at the regular basis Asking me:"what software is out there that would be fun for my child And is also not biased towards, or just kids of one nationality represented?
如果我买来给我的孩子,这款软件有没有各种不同类型的孩子的形象?,有几位父母经常来拜访我,他们问我说:“现在市面上都有什么好软件,对孩子来说会很有趣,而且没有偏向,或者说不仅仅面向一个国籍的?
This is the type of the violent union that Yeats imagines in which the divine enters the human, and the human finds access to the divine through the bestial.
这就是叶芝想象的,一种暴力的类型,其中,神圣进入凡人的身体,人类通过野兽般的暴力发现神圣。
Last time we taught this class, we did a survey to find out what type of people were sitting in this room-- they are just like yourselves-- and find out why you'll be taking this class.
上一次我们教这门课时,我们做了一个调查,看看坐在这上课的都是什么类型的人-,他们就像你们一样-,看看为什么你们会上这门课。
You said that you work here. What kind of businesses are around here?
你说你在这儿工作。这周围都有哪些类型的企业呢?
Alright, so it turns out there're two other useful types that you don't get for free out of the box.
我们还是回到这里,还有两种很有用的数据类型,这两种都不用担心内存不足。
So I'm going to now build an object, it's going to represent a point.
基本上说我们想要明白,这是个什么类型的对象。
This is, like, sort of classic Computer Science 101-type question.
这就有几分像经典的计算机科学,101-类型问题。
And what I want to be talking about is modules of one sort, and of course that's because what we're interested in is modularity.
我想要说的是一种类型的模块,当然这是因为我们关注的是程序的可组合性,我们如何处理复杂程序呢?
So we can do this directly as long as we have certain types of information.
因此,只要知道了一定类型的信息,我们就可以直接做到这一点。
Which basically says, how much type checking do they do?
这也就意味着,它们会做多少类型检查?
And those are four of the data types we've discussed thus far.
这是我们到现在为止学习了的四个数据类型。
So both of these stories involve floating point values, but only in this case am I actually allocating memory.
所以这两个故事都涉及到浮点类型,但是只有那样我们才能真正地分配到内存。
You'll notice that a lot of different kinds medications do you have chlorine in them, you'll see that c l group.
你会注意到很多不同类型的药物都含有氯,你会看到这类氯。
Most of the activities we do in my sector are in fact Falls into the second area of the research.
我们部门所做的大多数工作,都属于这第二类型的研究。
So it's a way of reminding you, I've got to be careful about the types of things that I put in.
因此我这是在提醒你,一定要对输入的东西的类型,多加注意。
We've looked so far really at two non-scalar types. And those were tuples written with parentheses, and strings.
关于这两种基本类型我们已经,学的相当多了,包括哪些元组和字符串类型。
We're going to build up this taxonomy if you like, but the reason it's relevant is, associated with each one of those types is a set of operators that expect certain types of input in order to do their job.
我们将会建立这种分类,但是这相关的原因是,对于每种类型都有,和之对应的一个操作集,这个操作机对一些输入,做出规定的操作。
So, that's the difference in thinking about different types of ionization energy, so it can get a little bit confusing with terminology if you're just looking at something quickly, so make sure you look really carefully about what we're discussing here.
所以,这就是我们,在思考不同类型的电离能时所看到的不同,因此如果你看得不够仔细的话,你可能会被其中的术语弄迷糊了,所以一定要看仔细,我们讨论的是什么。
And over the next couple of days, you'll see what we mean by this in detail.
就是抽象数据类型,你可以在网上看到这两个术语。
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.
你可以通过闸门的类型来描述它们,这基本上也就是看它们是如何打开或关闭的-,这是一种讨论不同类型的方法。
But notice now, those aren't just simple things like numbers, those are actually points.
但是现在请注意,这并不是像数字一样,的简单类型了。
This is a type of number that we'll see in a bit.
这只是一种数据类型,不久后我们就会看到。
Well I need to take that number and I'm going to turn it into a string. So notice what I'm going to do right here. I take that number and convert it into a string. That's an example of that type conversion we did earlier on. By doing that it makes it possible for me to treat it as an ordered sequence of characters.
我可能得把这个数字变为字符串,请注意我这里是怎么做的,我把这个数字,转化为字符串了,这是我们之前学过的,类型转换的例子,这么一来我就能把它按照有序的。
应用推荐