Object-oriented programming with induction

被引:1
作者
Swen, B [1 ]
机构
[1] Beijing Univ, Dept Comp Sci & Technol, Beijing 100871, Peoples R China
关键词
object orientation; inheritance; induction; C plus;
D O I
10.1145/345105.345134
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Object systems employing inheritance exclusively can suffer various difficulties when mapping real world object relations. This paper presents induction, as a universal software engineering methodology, to complement inheritance. We found out that a special form of induction, called virtual induction, is a powerful mechanism for abstracting and reusing existing code and can be well blended with inheritance. A C++ implementation of the mechanism is also discussed.
引用
收藏
页码:61 / 67
页数:7
相关论文
共 14 条
[1]  
AMADIO RM, 1993, ACM TOPLAS, V15, P4
[2]  
*ANSI, X3J1190013 ANSI
[3]  
BAUMGARTNER G, 1997, ACM TOPLAS, V19, P1
[4]  
BAUMGARTNER G, 1995, USING PORTING GNU CC
[5]  
CARDELLI L, 1992, SIGPLAN NOTICES, V27, P15, DOI 10.1145/142137.142141
[6]  
CHAMBERS C, 1993, 930305 U WASH
[7]  
*GNU, 1999, 2951 GCC GNU
[8]  
*ISO IEC, 14882 ISOIEC
[9]  
OMOHUNDRO S, 1991, TR92017 INT COMP SCI
[10]  
SWEN B, 1999, THEORY APPL EXTENDED