Re: Object Class and Data Type
Date: Tue, 30 Mar 2004 07:23:18 -0800
Of course you are right. The purpose of class and type are entirely different. A class hierarchy is intended to relate entities based on common behavior; however, a set of data types is intended to elaborate the differences between sets of values. So, for example, it is common for a class hierarchy to have a single root; often called object or entity. But data types rarely if ever inherit from a single basic data type. Furthermore, class itself is typically defined as an object with certain behaviors. On the other hand, one never sees data type, a base type, defined as a data type!
"Laconic2" <laconic2_at_comcast.net> wrote in message
> Over in the OTLT thread, I saw where someone used the name "CLASS" to
> describe the code_type. It seems to me that many people use "class" and
> "type" as though they were synonyms. It seems to me that they are not.
> Any thoughts?
Received on Tue Mar 30 2004 - 17:23:18 CEST