摘要
近年来,面向对象成为软件设计和开发的主流技术,然而基于继承的类结构的面向对象语言越来越显示出难以满足系统中动态应用的需求。本文就我们在实际工作中所遇到的问题,在分析基于继承和设计模式两种实现方法的基础上,提出一种基于delegate机制的实现方法。分析和模拟实验结果表明,基于delegate机制的实现方法明显优于前两者,可以有效地应用于软件开发。
In the recent years, object-oriented techniques have become mainstream in software development; however, traditional inheritance-based languages cannot satisfy the dynamic requirement in large application software systems. For that reason, in this paper we introduce a kind of delegate-based implementation method founded on both inheritance and design-pattern. Analysis and experimental results show that the performance of delegate-based implementation method is superior to others.
出处
《计算机科学》
CSCD
北大核心
2004年第5期82-85,共4页
Computer Science
基金
国家高技术研究发展计划No.1001AA113161
江苏省自然科学基金No.BK2002080