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.