Topic: object-oriented fields

topics > computer science > programming > Group: object-oriented programming

type inheritance

attribute-value pairs as information
data record
object-oriented classes
object-oriented data types
object-defined names
object-oriented objects
object-oriented prototypes
opaque and partially-opaque data types
property sheets for objects

Subtopic: object as properties, identity up

Quote: an object has an identity and a set of properties; an Aristotelian view of the world [»taivA4_1993]
Quote: since an object's state changes with time, an object exists 'in time'; unlike a value [»maclBJ12_1982]
Quote: a Kevo object shows all its properties; allows objects to be manipulated as individuals; use virtual copying to reduce memory consumption [»taivA11_1993]

Subtopic: attributes and properties up

Quote: a CLR property is a named value and its methods; typically a getter method and an optional setter method [»hamiJ2_2003]
Quote: use Ruby attributes to get and set instance variables; define explicitly or via 'attr_accessor', etc.
Quote: use properties for simple access to simple data with a simple computation [»cwalK_2006]

Subtopic: field as basic up

Note: the field concept is fundamental; name (the field), memory (its memory base), definition (the offset), and type (size of field); so long at an offset [»cbb_1990, OK]
Note: a field has no existence independent of an object or record; type is independent [»cbb_1990, OK]

Subtopic: events up

Quote: a CLR event includes methods for issuing, registering, and deregistering event notifications; like properties but with different, conventionally named methods [»hamiJ2_2003]

Subtopic: classes as globals up

Note: classes provide a way to program with global state that is localized to its use [»cbb_1990, OK]

Subtopic: object as state variables up

Quote: an object's methods interact indirectly through its state variables [»edwaSH2_1997]
Quote: an object is a phenomenon that changes over time, i.e., has a current state

Subtopic: fields defined by class up

Quote: a class definition defines names for temporaries, instance variables, and class variables [»goldA3_1976]
Quote: Smalltalk can define a class in the context of an object with given properties [»goldA3_1976]
Quote: in Simula, the attributes available depends on the object's class [»palmJ5_1973, OK]
Quote: a declared instance of a class is expanded into the variables recursively specified by the class's memory [»hendP9_1975]
Quote: in Smalltalk, objects as class instance, each object has a local state, each class has shared memory [»shocJF9_1979, OK]
Quote: two instances of a class respond differently to a message only if the values of their instance variables differ; they use the same method [»robsD8_1981]
Quote: all instances of a class have the same instance variables but different values [»robsD8_1981]
Quote: objects may have the same form, i.e., belong to the same class [»madsOL10_1986]
Quote: a Smalltalk record for a point contains fields for size, class pointer, and pointers to objects for x and y coordinate [»krasG8_1981]
Quote: a Self object consists of slots; a slot has a string name and any Self object) [»ungaD10_1992]

Subtopic: fields as interface type up

Quote: use interface types for parameters, return values, variables, and fields

Subtopic: polymorphic fields up

Quote: Remy's fast polymorphic record projection compresses sparse field indices using the mod operator [»wongL9_1995]

Subtopic: access to fields up

Quote: Ruby instance variables are always protected; accessible to subclasses only [»thomD1_2001]

Subtopic: problems with fields up

Quote: storage semantics in object-oriented languages leads to problems with copying, destruction, and comparison [»taivA4_1993]
Quote: to allocate an object, need to know its size [»stroB_1991]
Quote: C++ requires recompilation if the size of a class object is changed; for efficiency

Related Topics up

Group: type inheritance   (13 topics, 394 quotes)

Topic: attribute-value pairs as information (57 items)
Topic: data record (57 items)
Topic: object-oriented classes (67 items)
Topic: object-oriented data types (29 items)
Topic: object-defined names (15 items)
Topic: object-oriented objects (39 items)
Topic: object-oriented prototypes (39 items)
Topic: opaque and partially-opaque data types (14 items)
Topic: property sheets for objects
(29 items)

Updated barberCB 10/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.