Environmental Acquisition -- A New Inheritance-like Abstraction Mechanism

Joseph Gil, David H. Lorenz

نتاج البحث: فصل من :كتاب / تقرير / مؤتمرمنشور من مؤتمرمراجعة النظراء


The class of an object is not necessarily the only determiner of its runtime behaviour. Often it is necessary to have an object behave differently depending upon the other objects to which it is connected. However, as it currently stands, object-oriented programming provides no support for this concept, and little recognition of its role in common, practical programming situations. This paper investigates a new programming paradigm, environmental acquisition in the context of object aggregation, in which objects acquire behaviour from their current containers at runtime. The key idea is that the behaviour of a component may depend upon its enclosing composite(s). In particular, we propose a form of feature sharing in which an object "inherits" features from the classes of objects in its environment. By examining the declaration of classes, it is possible to determine which kinds of classes may contain a component, and which components must be contained in a given kind of composite. These relationships are the basis for language constructs that supports acquisition. We develop the theory of acquisition that includes topics such as the kinds of links along which acquisition may occur, and the behaviour of routine (methods) and attribute features under acquisition. The proposed model for acquisition as a hierarchical abstraction mechanism is a strongly typed model that allows static type checking of programs exploiting this mechanism. We compare it to several other mechanisms including inheritance and delegation, and show that it is significantly different than these.

اللغة الأصليةالإنجليزيّة
عنوان منشور المضيفProceedings of the 11th Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages, and Applications (OOPSLA'96)
مكان النشرSan Jose, California
ناشرAssociation for Computing Machinery
عدد الصفحات18
مستوى الصوت31
رقم المعيار الدولي للكتب (الإلكتروني)089791788X, 9780897917889
المعرِّفات الرقمية للأشياء
حالة النشرنُشِر - 1 أكتوبر 1996
منشور خارجيًانعم
الحدث11th ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 1996 - San Jose, الولايات المتّحدة
المدة: ٦ أكتوبر ١٩٩٦١٠ أكتوبر ١٩٩٦

سلسلة المنشورات

الاسمSIGPLAN Notices (ACM Special Interest Group on Programming Languages)
رقم المعيار الدولي للدوريات (المطبوع)0362-1340


!!Conference11th ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 1996
الدولة/الإقليمالولايات المتّحدة
المدينةSan Jose


أدرس بدقة موضوعات البحث “Environmental Acquisition -- A New Inheritance-like Abstraction Mechanism'. فهما يشكلان معًا بصمة فريدة.

قم بذكر هذا