And we want to do that in tangible, concrete ways, but the question is how? -Absolutely.
而且想用实际具体的方法来实现这个目标,但问题是怎么做?,-对。
It means anybody using that little function get float doesn't have to worry about what's inside of it. So for example, I decide I want to change the message I print out, I don't have to change the function, I just pass in a different parameter.
这代表着用这个方法去获得浮点数,的任何人都不用担心具体的实现了,例如,如果我想改变下,显示的信息的话,我不必去改变方法,我传个不同的参数就可以了。
He holds in dream the possibility ; of satisfied desire, possession of the beloved; meaning specifically physical possession of her, which would be an apocalyptic event, the end of time and times.
在梦里他坚信欲望实现的可能性,和对被爱的人的占有;,这里具体指身体上的占有,是有警示性的,警示时间和年代的结束。
Another way of saying it is, anything that uses get float doesn't care what the details are inside or shouldn't, and if I change that definition, I don't have to change anything elsewhere in my code, whereas if I just have the raw code in there, I have to go off and do it.
换种说法就是,任何用到获取,输入这个功能的人不用担心具体的实现细节,如果我改变了这里的实现,我并不需要去改变我的代码,因为我的最底处的源码就在这里,我去改这里就可以了。
I've used some abstraction to suppress some details here.
我用了抽象的方法,来隐藏了一些具体的实现。
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.
组合成为有意义的单元,那么这就让我们回到,一开始讲的话题之一了,这就是抽象的概念,也就是我可以以一个简单的,实体的形式创建这样的一个单元,把具体实现隐藏然后写一些,真正模块化的代码,我们在以后的课程中。
应用推荐