摘要
现今面向对象已经成为软件业内的主流技术,然而它存在很多的弱点,使得它的通用性和抽象程度受到很大限制。设计模式作为面向对象领域内的高级软件复用技术,同样摆脱不了相同的困扰。泛型编程是面向对象的进一步发展,从更高的角度对世界进行抽象,为面向对象的不足之处提供了解决之道.将设计模式泛化带来更大规模的代码复用,使得设计模式的实现得以自动化,从而使开发人员能以面向设计的方式让使用者自行装配所需机能,产生能表达原始设计意图的代码,实现设计与编码之间的无缝过渡。
Now object-oriented has been the main technologies of software industry, However, there are many problems which limit its general purpose and the abstract degree. Design pattern is an advanced technologies of software reusing within object oriented, but it still can not break away the bugging of the similar problems. Generic programming develops object oriented. It abstracts the world with a higher view, thus many problems in object oriented can be handled by it. Using the ideal of generic prograrnr;aing to generalize design patterns brings programmers mass reusing and automated design patterns, gifting programmers the ability to assemble the components by requirements, and result in the source codes that can express the primitive purpose of design, arehiving the natural transition from designing to coding.
出处
《计算机科学》
CSCD
北大核心
2006年第4期253-257,共5页
Computer Science
基金
福建省自然科学基金
项目编号 A0210018