首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:Object Inheritance Without Classes
  • 本地全文:下载
  • 作者:Timothy Jones ; Michael Homer ; James Noble
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2016
  • 卷号:56
  • 页码:13:1-13:26
  • DOI:10.4230/LIPIcs.ECOOP.2016.13
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Which comes first: the object or the class? Language designers enjoy the conceptual simplicity of object-based languages (such as Emerald or Self) while many programmers prefer the pragmatic utility of classical inheritance (as in Simula and Java). Programmers in object-based languages have a tendency to build libraries to support traditional inheritance, and language implementations are often contorted to the same end. In this paper, we revisit the relationship between classes and objects. We model various kinds of inheritance in the context of an object-oriented language whose objects are not defined by classes, and explain why class inheritance and initialisation cannot be easily modelled purely by delegation.
  • 关键词:Inheritance; Objects; Classes; Operational semantics
国家哲学社会科学文献中心版权所有