A Shared View of Sharing: The Treaty of Orlando

L. Stein, H. Lieberman, D. Ungar
{"title":"A Shared View of Sharing: The Treaty of Orlando","authors":"L. Stein, H. Lieberman, D. Ungar","doi":"10.1145/63320.66470","DOIUrl":null,"url":null,"abstract":"For the past few years, researchers have been debating the relative merits of object-oriented programming languages (OOPLs) with classes and inheritance as opposed to those with prototypes and delegation. It has become clear that the OOPL design space is not a dichotomy. Instead, we have identified two fundamental mechanisms, templates and empathy, and several different independent degrees of freedom for each. Templates create new objects in their own image, providing guarantees about the similarity of group members. Empathy allows an object to act as if it were some other object, providing sharing of state and behavior. Smalltalk, Actors, Lieberman''s delegation system, Self, and Hybrid each take differing stands on the forms of templates and empathy. Some varieties of template and empathy mechanisms are appropriate for building well-understood programs that must be extremely reliable; others are better suited for rapidly prototyping solutions to difficult problems. The differences between languages designed for each of these application domains can be recast as the differences between support for anticipated vs. unanticipated sharing. One can even ascribe the ascent of object-oriented programming to its strong support for extension instead of modification. However, many kinds of extension still remain difficult. The decomposition of an object-oriented language into template and empathy mechanisms and the degree of support for extension provided by the forms of these mechanisms provide a solid framework for studying language design.","PeriodicalId":207946,"journal":{"name":"Object-Oriented Concepts, Databases, and Applications","volume":"73 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1988-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"128","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Object-Oriented Concepts, Databases, and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/63320.66470","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 128

Abstract

For the past few years, researchers have been debating the relative merits of object-oriented programming languages (OOPLs) with classes and inheritance as opposed to those with prototypes and delegation. It has become clear that the OOPL design space is not a dichotomy. Instead, we have identified two fundamental mechanisms, templates and empathy, and several different independent degrees of freedom for each. Templates create new objects in their own image, providing guarantees about the similarity of group members. Empathy allows an object to act as if it were some other object, providing sharing of state and behavior. Smalltalk, Actors, Lieberman''s delegation system, Self, and Hybrid each take differing stands on the forms of templates and empathy. Some varieties of template and empathy mechanisms are appropriate for building well-understood programs that must be extremely reliable; others are better suited for rapidly prototyping solutions to difficult problems. The differences between languages designed for each of these application domains can be recast as the differences between support for anticipated vs. unanticipated sharing. One can even ascribe the ascent of object-oriented programming to its strong support for extension instead of modification. However, many kinds of extension still remain difficult. The decomposition of an object-oriented language into template and empathy mechanisms and the degree of support for extension provided by the forms of these mechanisms provide a solid framework for studying language design.
分享的共同观点:奥兰多条约
在过去的几年中,研究人员一直在争论具有类和继承的面向对象编程语言(oopl)与具有原型和委托的面向对象编程语言的相对优点。很明显,OOPL设计空间不是一个二分法。相反,我们已经确定了两种基本机制,模板和同理心,以及每种机制的几个不同的独立自由度。模板在自己的映像中创建新对象,从而保证组成员的相似性。同理心允许一个物体像其他物体一样行动,提供状态和行为的共享。Smalltalk、Actors、Lieberman的授权系统、Self和Hybrid在模板和移情的形式上各有不同的立场。模板和移情机制的某些变种适用于构建易于理解的程序,这些程序必须非常可靠;另一些则更适合于针对困难问题的快速原型化解决方案。为这些应用程序领域设计的语言之间的差异可以重新定义为对预期共享和非预期共享的支持之间的差异。人们甚至可以将面向对象编程的兴起归因于它对扩展而不是修改的强大支持。然而,许多种类的推广仍然困难重重。将面向对象语言分解为模板机制和移情机制,以及这些机制的形式所提供的对扩展的支持程度,为研究语言设计提供了坚实的框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信