一组对封装的应用程序的扩展和定制。
A set of extensions and customizations to packaged applications.
内聚性——被封装的实体如何相互连接?
这就是封装的基本原理。
You can put a variable there, and because it's not encapsulated in curly braces, as we just discussed, that essentially means it's accessible everywhere in that file.
你可以加入一个变量,因为它不是封装在花括号里,就像我们刚才讨论的,本质的意思是它可以在文件的所有地方,都可以被访问到。
And the last piece I want you to see here, and then I'll let you go is, notice now how that encapsulation, that binding things together has really helped me.
我想要的那么干净,最后一点要给大家讲的是,也就是下课前讲的一点,就是请注意这里是怎么封装的,也就是把东西绑定在一起。
There's a whole bunch of stuff at the top which is wrapping in an ugly way 'cause I've made my font so big.
顶部有一大堆封装好的东西,看起来很丑,因为我们的字体设置的很大。
应用推荐