检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机工程与设计》2007年第3期725-728,共4页Computer Engineering and Design
摘 要:重构是在不改变代码外在行为的前提下,对代码做出修改,以改进程序内部结构的过程。设计模式是对被用来在特定场景下解决一般设计问题的类和相互通信的对象的描述。泛型编程专注于将型别抽象化,形成功能需求方面的一个精细集合,并利用这些需求来实现算法。以一个应用系统的数据采集子系统的系统重构为例,将设计模式应用于系统重构中设计阶段,将泛型技术应用于系统重构实现阶段;讨论设计模式技术和泛型技术的结合对系统重构的作用与意义。System refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code but improve its internal structure. Design patterns are the descriptions of communicating objects and classes that are customized to solve a general design problem in a particular context. Generic programming is a paradigm that focuses on abstracting types to a narrow collection of functional requirements and on implementing algorithms in terms of these requirements. Taking refactoring a data collection system as an example, design pattern is applied to its design, before generic programming is used in implementation. An in-depth discussion about using these two techniques to system refactoring is presented.
关 键 词:设计模式 泛型技术 系统重构 面向对象 软件复用
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.175