Safe Dynamic Multiple Inheritance

Erik Ernst
{"title":"Safe Dynamic Multiple Inheritance","authors":"Erik Ernst","doi":"10.7146/DPB.V31I556.7113","DOIUrl":null,"url":null,"abstract":"Multiple inheritance and similar mechanisms are usually only supported at compile time in statically typed languages. Nevertheless, dynamic multiple inheritance would be very useful in the development of complex systems, because it allows the creation of many related classes without an explosion in the size and level of redundancy in the source code. In fact, dynamic multiple inheritance is already available. The language gbeta is statically typed and has supported run-time combination of classes and methods since 1997, by means of the combination operator '&'. However, with certain combinations of operands the '&' operator fails; as a result, dynamic creation of new classes and methods was considered a dangerous operation in all cases. This paper presents a large and useful category of combinations, and proves that combinations in this category will always succeed.","PeriodicalId":114503,"journal":{"name":"Nord. J. Comput.","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2002-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Nord. J. Comput.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.7146/DPB.V31I556.7113","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Multiple inheritance and similar mechanisms are usually only supported at compile time in statically typed languages. Nevertheless, dynamic multiple inheritance would be very useful in the development of complex systems, because it allows the creation of many related classes without an explosion in the size and level of redundancy in the source code. In fact, dynamic multiple inheritance is already available. The language gbeta is statically typed and has supported run-time combination of classes and methods since 1997, by means of the combination operator '&'. However, with certain combinations of operands the '&' operator fails; as a result, dynamic creation of new classes and methods was considered a dangerous operation in all cases. This paper presents a large and useful category of combinations, and proves that combinations in this category will always succeed.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
安全动态多重继承
静态类型语言通常只在编译时支持多重继承和类似的机制。然而,动态多重继承在复杂系统的开发中非常有用,因为它允许创建许多相关的类,而不会在源代码的大小和冗余级别上发生爆炸。实际上,动态多重继承已经可用。语言gbeta是静态类型的,自1997年以来通过组合操作符'&'支持类和方法的运行时组合。但是,对于某些操作数组合,'&'操作符会失败;因此,动态创建新类和方法在任何情况下都被认为是危险的操作。本文提出了一个大而有用的组合类别,并证明了在这个类别中的组合总是成功的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
On the Complexity of Variations of Equal Sum Subsets Higher-Order Beta Matching with Solutions in Long Beta-Eta Normal Form Refining UML Interactions with Underspecification and Nondeterminism Succinct Suffix Arrays based on Run-Length Encoding Generalized H-coloring and H-covering of Trees
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1