Technion - Israel Institute of Technology
The Computer Science Department
The Laboratory for Parallel
Computing Research
Intro Staff Research Courses Projects

LPCR - Publications - LPCR9507

1992 1993 1994 1995 1996 1997

TR# LPCR9507
Title ENVIRONMENTAL ACQUISITION - A NEW INHERITANCE MECHANISM
Author J. Gil and D. Lorenz
PostScript Come and get me
Hard Copy Please specify you mail address.
Abstract

Nature vs. Nurture? The debate has obsessed the minds of psychologists and philosophers for many years. However, for the object-orienteer, it has never been a problem: an object inherits all of its properties. In this work we ask if an object should not be subject to environmental effects. We answer this question in the affirmative by demonstrating many cases in which the character of an object must be affected by the environment it is put in. We present a new abstraction mechanism - Environmental Acquisition - which allows a component to inherit properties from its enclosing composite(s). The need for environmental acquisition is demonstrated in several application domains. It is shown that the absence of environmental acquitision may lead to the creating of cumbersome programs. We propose a strongly typed model for environmental acquisition that allows static type checking of programs exploiting this mechanism, and compare it to several other mechanisms including ordinary inheritance and delegation.


1992 1993 1994 1995 1996 1997
Intro Staff Research Courses Projects

Aythan Avior
Computer Science Department
Technion - Israel Institute of Technology
Haifa - ISRAEL
Tel: 972-4-829-4352
Fax: 972-4-829-4353
Email: aythan@cs.technion.ac.il