And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.
这是很棒的一件事情,因为它让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到它的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。
and he asked me if I would be interested in coming on the board and helping to create a website
他问我是否愿意参加,帮助建一个网站等等。
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.
当我创建一个绑定的时候,我有一个变量的名字,在这个例子中是,存在一个表中的某处,然后创建一个连接,或者指针从这个名字指向目标值。
So, it makes a binary decision, either I create an action potential or I don't, but that decision could be based on many inputs, not just on input from one cell.
所以 这里产生一个二选一的决策,就是产生动作电位亦或不产生,不过这个决定可能是,根据很多输入信号做出的,而不是仅凭单个细胞所传来的信号
I will establish a savage, "man" shall be his name, Verily, savage man I will create.
我将捏造蒙昧之物,“人“将会是他们的名字,正是如此,我将创造野蛮的人。
There's a real sense, I think, in which Milton wanted to re-create all of Western culture or to re-create all of Western culture in his own image.
我认为,米尔顿想要完全重建西方文化,或者说是按他自身的形象重建西方文化,是有切实意义的。
There's the hard sphere. It wants to collide against the wall to create a force on the wall, and I have a couple of the hard spheres that are nearby, right, and in the absence of any interactions, I get a certain pressure.
给墙一个作用力,现在它的附近,还有许多小球,没有相互作用时,它将直接冲向这面墙。
I think that what Paulson and Nason want to do is to create a separate business conduct agency that is aimed at consumer protection.
我认为鲍尔森和内森想做的,就是建立一个独立的商业行为监管机构,来保护消费者。
Well, instead of finding that ideal woman, I will create a sculpture"-- as he was a sculptor, " "I will create a sculpture in her image."
我不再寻找理想中的女人,我要雕刻一座雕像“因为他是雕刻家,“我会以她的形像雕刻一座雕像“
I just want to do roles or create roles for me that I want to be a part of
我就是想扮演或者创造那些能让我融入其中的角色。
So there we have, I'll create a GUI interface using Visual Basic, see if I can track an IP address.
好了,我用VB创建一个,图形用户界面,看是否可以跟踪IP地址。
So I do think it's a great place to create a business.
所以我认为这里很适合创业。
and I have to create a few crowns with playing cards,
我们必须用扑克牌做一些皇冠,
So I guess, by doing this we kind of create a culture where people just talk to each other about stuff and get what each other is thinking more clearly than they would if the organization is more bureaucratic or if like people wouldn't be heard.
这样一来,公司的文化也就形成了,人们可以自由交谈,在Facebook比在,官僚机构,或者比在个人观点不被重视的地方,能更好地了解彼此的想法。
I did not want to make a list, I wanted to create a tuple thank you for catching it. I want parens not square brackets there.
为什么这里有错误了,我并不想要创建,一个列表,我想创建一个元组,谢谢你,发现了这个错误。
And then to create the object, I'll simply do a set of inserts.
我将此返回做为我的集合,然后创建对象,我会一系统简单的插入操作。
Well, I'm going to create a little infinite loop.
好,我会建立一个小的无穷循环。
If I want to create a set or a sequence representing these things, I simply insert into that list.
如果我想创建一个集合,或者一个序列表示这些东西,我只要简单的把它插入列表中。
So, what's the idea? If I know what my hash function does, it maps, in this case characters into a range zero to 256, which is zero to 255, I create a list that long, and I simply mark things.
我知道我的哈希函数做什么,在这个例子中,它将字母,映射成0到255的256个数字,我创建了一个这么长的列表,并且我只是简单的标志这些东西。
I'm going to create a vacuum.
我创造了真空。
I'll create a GUI interface using Visual Basic, see if I can track an IP address.
我用VB创建一个图形用户界面,试试能不能跟踪IP地址。
And then I'll create this function, d1 this distribution d 1, which will, whenever I call it, give me a random, a uniformly selected value between minus and plus volatility.
然后我会创建这个函数,这个概率分布,每次我调用这个函数的时候,他会给我返回一个随机的,按照均匀分布,从正负浮动值之间选择的值。
I then create a third variable called "z," add those two digits together, store the sum.
然后我声明了一个叫做“z“的变量“,把这两个数字加起来,把他们的总数存起来。
OK, so I don't have to, it's a great question, I don't have to create a second one for cmp.
但是参数的顺序是相反的,好,那么我就不必,这是个很不错的问题,我就不必再创建。
And I want to show you a little bit more detail of that, so let's create a simple little list here.
我还想给你们再讲详细些,那让我们来创建一个简单的列表吧。
Now I have the ability to say, I've got a new class, I can create instances of a line segment, and it's elements are themselves instances of points. OK?
这就是我们要讲模块化的地方了,现在我可以说,我创建了一个新类,我可以创建线段的实例了,这些实例的元素?
self y Notice what I also do here, I create self dot y, give it a value, and then, oh cool, I can also set up what's the radius and angle for this point, by just doing a little bit of work.
我创建了,然后给它赋值,然后,噢太酷了,通过做一点额外的工作,就可以得到点的半径和角度了,好,实际上如果。
OK, so as I said, now I can go off and I could create a different class.
好,正如我所说,现在我可以进行下去,去创建一个不同的类了。
Let me give you, I'm going to create, q a polar point, I'm going to call it q, and we'll give it some random values.
让我给大家讲解下,我要去创建,一个极坐标点,然后我会去命名它为,然后我给它赋一些随机的值,好,现在我想知道。
应用推荐