摘要
从认识论和方法论的角度来看,分类不是认识事物解决问题的唯一方法,类比同样十分重要.然而传统的继承只体现分类的方法.自行设计的面向对象语言ND-Polya通过引入新的继承机制——柔性继承来支持类比方法.使用柔性继承机制,程序员能以描述事物或问题间相似性的方式进行软件开发.文中简要介绍了ND-Polya的柔性继承设施,并在此基础上具体地讨论了该机制的类比实现技术.
Analogy is a very important method for cognition and solving problems besides classification in the view of epistemology and methodology. However, the traditional inheritance only reflects the idea of classification. The ND Polya language supports the analogy in object oriented programming by providing a new inheritance mechanism soft inheritance, with which one can develop a new software system by describing its similarity to an existing system. After giving a brief introduction to the soft inheritance facilities in the self designed language ND Polya, the implementation techniques of the soft inheritance are discussed in detail.
出处
《计算机研究与发展》
EI
CSCD
北大核心
1999年第6期695-704,共10页
Journal of Computer Research and Development
基金
国家自然科学基金
国家杰出青年科学基金
江苏省青年基金