计算机科学 ›› 2006, Vol. 33 ›› Issue (4): 253-257.

• • 上一篇    下一篇

泛型编程与设计模式

陈叶旺 余金山   

  1. 华侨大学信息与工程学院,泉州362011
  • 出版日期:2018-11-17 发布日期:2018-11-17
  • 基金资助:
    福建省自然科学基金;项目编号A0210018.

CHENG Ye-Wang,YU Jin-Shan (College of Info, Sci. & Eng. , Huaqiao Univ. ,Quangzhou 362011)   

  • Online:2018-11-17 Published:2018-11-17

摘要: 现今面向对象已经成为软件业内的主流技术,然而它存在很多的弱点,使得它的通用性和抽象程度受到很大限制。设计模式作为面向对象领域内的高级软件复用技术,同样摆脱不了相同的困扰。泛型编程是面向对象的进一步发展,从更高的角度对世界进行抽象,为面向对象的不足之处提供了解决之道。将设计模式泛化带来更大规模的代码复用,使得设计模式的实现得以自动化,从而使开发人员能以面向设计的方式让使用者自行装配所需机能,产生能表达原始设计意图的代码,实现设计与编码之间的无缝过渡。

关键词: 面向对象 设计模式 泛型编程 正变分解 Policy-Classes

Abstract: 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 i

Key words: Object oriented, Design patterns, Generic programming, Orthotropic decomposition, Policy-classes

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!