𝔖 Bobbio Scriptorium
✦   LIBER   ✦

On the relationship between classes, objects, and data abstraction

✍ Scribed by Fisher, Kathleen; Mitchell, John C.


Publisher
John Wiley and Sons
Year
1998
Tongue
English
Weight
186 KB
Volume
4
Category
Article
ISSN
1074-3227

No coin nor oath required. For personal study only.

✦ Synopsis


While most object-oriented programming is done in class-based languages, the trend in theoretical study has been to develop formal systems that are objectbased, without classes and often without explicit inheritance mechanisms. This paper studies the correspondence between class constructs of the form found in C++, Eiffel, and Java and object primitives of the form used in recent type-theoretic studies. One insight is that classes require both an extensible aggregate, to serve as the basis for inheritance, and a non-extensible form of object to support subtyping; typed object calculi without extensible objects or extensible records do not seem adequate for conventional class-based programming. We develop our analysis by comparing three approaches to class-based programming, the first using records of object components called "premethods" and the latter two using an extensible form of object called a "prototype." While the first approach is simplest, using fewer primitive operations on objects, it does not seem to accurately provide several features of conventional class-based languages. In the latter two approaches, we give more comprehensive treatments of classes by combining prototypes with standard abstraction mechanisms. All three treatments of classes are based on typed translations into provably sound object calculi.


πŸ“œ SIMILAR VOLUMES


Beliefs and data on the relationship bet
✍ Neil Brewer; Rob Potter; Ronald P. Fisher; Nigel Bond; Mary A. Luszcz πŸ“‚ Article πŸ“… 1999 πŸ› John Wiley and Sons 🌐 English βš– 137 KB πŸ‘ 1 views

Two studies concerned with consistency and accuracy of eyewitness testimony were conducted. In Study 1 potential jurors indicated the degree to which they considered that various witness on-stand behaviours indicated testimonial accuracy. Witness statements that were inconsistent with previous stat

On the relationship between divorce and
✍ Sidney Cobb; Martha Miller; Martha Wieland πŸ“‚ Article πŸ“… 1959 πŸ› John Wiley and Sons 🌐 English βš– 286 KB πŸ‘ 1 views

The hypothesis of suppressed hostility as a factor in rheumatoid arthritis is supported by the finding that rheumatoid arthritics are more liable to divorce, but put up with an unsatisfactory marriage longer than those who are free of the disease. This is more striking for males than for females. L

On the relationship between product subs
✍ Rajeev K. Tyagi πŸ“‚ Article πŸ“… 1999 πŸ› John Wiley and Sons 🌐 English βš– 88 KB πŸ‘ 1 views

This paper examines the effect of increased product substitutability on quantity-setting firms' ability to sustain tacit collusion in a market. It uses a general demand function and the trigger strategy of Friedman (Friedman JW. 1971. A non-cooperative equilibrium for supergames. Re7iew of Economic

On the relationship between pregnancy we
✍ S. J. Fields; G. Livshits; P. Merlob; L. Sirotta πŸ“‚ Article πŸ“… 1997 πŸ› John Wiley and Sons 🌐 English βš– 48 KB πŸ‘ 1 views

Chorioamnionitis refers to infection of the amniotic fluid by such agents as Streptococcus sp., E. coli and Ureaplasma sp. It has not only been linked to the risk of premature rupture of the membranes and preterm delivery, but also to increased morbidity and mortality among neonates born to mothers