首页> 外文会议>European Conference on Object-Oriented Programming >Import is Not Inheritance - Why We Need Both: Modules and Classes
【24h】

Import is Not Inheritance - Why We Need Both: Modules and Classes

机译:导入不是继承 - 为什么我们需要两者:模块和类

获取原文

摘要

The design of many popular object-oriented languages like Smalltalk, Eiffel, or Sather follows a certain trend: The class is the only structuring form. In this paper, the need for having modules besides classes is claimed. Modules stem from a different language family and at first glance it seems that they can easily be unified with classes. Among other things, unifying modules and classes carries the danger of unifying the import and inheritance relationships. Constructs in several languages are discussed that indicate that modules and classes should indeed be kept separate.
机译:许多流行的面向对象的语言如Smalltalk,Eiffel或Sather等趋势:班级是唯一的结构形式。在本文中,声称需要具有类别的模块。模块源于不同的语言家庭,乍一看似乎他们很容易与课程统一。除此之外,统一模块和课程携带统一导入和继承关系的危险。讨论了多种语言中的构造,这表明模块和类确实应保持分开。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号