摘要
有一定工作经历的程序员,都会有一些遗留代码在使用。无论是自己编写的还是协作者创建的,这部分代码在创建时可能解决了当时的问题,但是随着技术的进步及程序员自身水平的提高,这部分代码在可重用性、可扩展性和可维护性方面存在的问题逐渐暴露出来。本文以笔者在优化代码的过程中遇到和解决的问题谈一下心得,希望和大家共同提高。
Every programmer with some careers may have left over codes from history, no matter coded by himself or his collaborators. These codes may work well at that time, but problems may appear in reusability, extendibility or maintainability after the advancement of technique or the improvement of the programmer himself. This article show the author's feelings and experiences from refactoring the test method class and hope to go-ahead with others together.
出处
《工程与试验》
2014年第3期45-47,共3页
Engineering and Test