All right, so that notion of abstraction and we're going to come back to multiple times -- during the term-- and it's not just abstraction, -- it's the idea of a specification.
现在就试试,这就是抽象的概念,我回过来说,我们将要多次提到这个术语。
Now I got one just simple thing, and I simply have isolated that module inside of that function.What about abstraction?
而现在我只要做一件简单的事,那就是我只需把这个模块,加到函数中去?
This is just a little inelegant and so one of the things we'll introduce early on is this idea of abstraction or design whereby if you wanna represent the ideas of 0 and 1, true or false, well, let's give them a synonym like true or false.
这么说有点粗野,我要接着讲的是这种抽象的思想,或者用这个来描绘设计出,真和假的思想,我们可以给真假各指定一个同义词。
So, they make their personal or dynastic rule absolute based on loyalty to them as individuals and not to the state as some sort of abstraction.
所以,君主将个人或者王朝的绝对统治,建立在[民众]对其统治家族的忠诚,而非国家这样的抽象概念上
And the fourth thing to notice is, I've used abstraction. I've said nothing about how I'm going to make square root.
第四件事情就是,我运用了抽象,我对怎么去求平方根没有提及。
We don't have decomposition, and we don't have abstraction.
我们没有将其分解,而且也没有进行抽象。
I want to abstract that. And the abstraction you see, right here. I'm going to highlight it for a second so you can see it. I want you to look at it on the handout as well.
我需要进行抽象,这个抽象就在这儿,我把它强调给你们看看,我希望你也能看看讲义里的这部分内容。
And abstraction is related to that, abstraction is going to let us suppress details.
抽象也与此紧密相关,抽象能让我们忽略细节。
And that abstraction is really important.
这种合约是非常重要的。
What we're really getting at is the idea of saying I want to have a way of grouping together information into units that make sense. So I can go back to one of those topics we had at the beginning, which is the idea of abstraction, that I can create one of those units as a simple entity, bury away the details and write really modular code.
组合成为有意义的单元,那么这就让我们回到,一开始讲的话题之一了,这就是抽象的概念,也就是我可以以一个简单的,实体的形式创建这样的一个单元,把具体实现隐藏然后写一些,真正模块化的代码,我们在以后的课程中。
The pieces that we pulled off the shelf here were ultimately reduced to things like 4 loops and what we'll call functions and what we'll call abstraction; and all these fundamentals that at first glance might have some fairly RK and jargon associated with them.
我们可以把现有的课程,分为四大领域,以及应用型课程和抽象理论课程,乍一看,所有这些基础课程,都可能会和RK及与之相关的术语联系在一起。
应用推荐