首页 | 官方网站   微博 | 高级检索  
     


A technique for subclassing and its implementation exploiting polymorphic procedures
Authors:Luigi V. Mancini
Abstract:Since the introduction of Smalltalk, the object-oriented approach towards the organization of data and programs has become popular. In this paper the possibilities of exploiting procedure-oriented languages to allow an object-oriented style of programming are analysed. Although the two approaches are apparently dissimilar, a family of procedure-oriented languages is described which allows a high degree of freedom in programming and does not appear to restrain the programmer within the procedure-oriented scheme. Popular languages of this family are ML and PS-Algol. For such languages, a technique is developed which enables an efficient implementation of object-oriented features, such as the subclassing form of inheritance provided by Smalltalk-80 and Simula.
Keywords:Data abstraction  Inheritance  Object-oriented programming  Polymorphism
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号