-Now, before we get too much further, we need to embark on a brief metaphysical digression. The above structure is not a human being itself; it simply describes the idea, or the concept, behind a human being. It describes what it is to be human. To be human is to have height, hair, to sleep, to eat, and so on. Th is is a crucial distinction for programming objects. This human being template is known as a <em>class</em>. A <em>class</em> is different from an <em>object</em>. You are an object. I am an object. That guy on the subway is an object. Albert Einstein is an object. We are all people, real world <em>instances</em> of the idea of a human being.
0 commit comments