摘要
设计模式是编程过程中的设计经验,在应用程序的实现过程中可以利用设计模式,用重构的观念来对待设计模式的实现。采用测试优先的单元测试技术,可以保证重构的安全。介绍了这方面的知识,并举例说明了这种方法的可行性和有效性。
Design patterns is experience in application development which can be realized in our programming. We should have the conception of the refactoring to patterns in the development of application. Unit test can guarantee the security of the refactoring. This paper displays feasibility and validity of this method.
出处
《计算机应用研究》
CSCD
北大核心
2003年第12期42-43,47,共3页
Application Research of Computers
关键词
设计模式
重构
单元测试
Design Patterns
Refatoring
Unit Test