Group: type inheritance
Topic: casting a variable to a different type
Topic: collection class
Topic: dynamic type checking
Topic: non-exclusive data type
Topic: pointers to data
Topic: primitive data type as memory
Topic: recursive data structures
Topic: representation data type
Topic: scripting language
Topic: union data type
Topic: universal data type
Topic: variant data types
| |
Summary
The ref_any or Object data type is similar to the universal data type. It is the top of the type hierarchy so basic functions such as communication, parameter passing, and 'What kind of object is this' are defined. Either any operation can be performed, or no specialized operations. In the later case, the object can be cast into another type after type checking. (cbb 1980)
Subtopic: AnyType
Quote: can cast a variable to type Anytype; communicate it; then recast it to its original type for use [»stroR10_1986]
| Quote: a Cedar REF ANY variable requires runtime type verification before access or modification [»swinDC7_1985]
| Quote: instead of an UNSPECIFIED type, use RECAST to treat the same value differently [»gescCM8_1977]
| Subtopic: operations on 'type'
Quote: operations defined on the type 'type' to return all instances, legal operations, and legal properties [»zdonSB11_1986]
| Quote: the type 'type' is a type; it is an instance of itself
| Quote: every Smalltalk class, except Object, has a superclass [»xlrg8_1981]
| Subtopic: type test
Quote: use TYPECASE to test the referent type of any traced object [»cardL_1991]
| Subtopic: representation type
Quote: a rep-type is the set of modes with the same representation; explicitly declared, includes operations [»parnDL3_1976]
| Quote: programmer needs access to a type's representation if its primitive operations are inadequate [»morrJH_1974]
|
Related Topics
Group: type inheritance (13 topics, 394 quotes)
Topic: casting a variable to a different type (7 items)
Topic: collection class (11 items)
Topic: dynamic type checking (43 items)
Topic: non-exclusive data type (16 items)
Topic: pointers to data (55 items)
Topic: primitive data type as memory (29 items)
Topic: recursive data structures (18 items)
Topic: representation data type (21 items)
Topic: scripting language (27 items)
Topic: union data type (12 items)
Topic: universal data type (18 items)
Topic: variant data types (7 items)
|