If we're going to write programs, we need at least two things: we need some representation for fundamental data.
如果我们要去写程序,我们需要至少两件事情:,我们需要一些能代表基础数据的东西。
Right, so the fundamental idea then, is, I want to glue together information, I want to take pieces of data that naturally belong together, glue them together, and attach some methods to it.
放在一起的数据拿出来,把它们放到一起,然后把一些方法附加上去,这些,你知道的,是很长的一个定义,让我们来看个例子吧。
应用推荐