My View On Refactor

2008-02-23 09:33:55来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

I like refactor these days.

it help my code look more and more beautiful day after day. May be it is one key point in XP, it is also important in SE, with the help of TDD (Test-Driven Develop)

Many people don't like XP, they link the way software engineer works, write document, design, code, test. Others believe coding is most impotant in the process, the final product is key point. developers like to see the resut. That's true. I think both way is correct. One of my teacher said, SE is a basic level, which tells us a standard in development, XP is a higher level. One must experience SE, then try to XP. It sounds reasonable. But one thing in developement is same. That is Refactor.

Refactor is a new word for me one year ago. Although i also know need to make some change to my codes,i bon't know how to express it, and what is the standard. Refactor for me, is one thing help me to tell other what i am doing to my code all days. It sounds more experizedly.

Actually, SE and XP can't leave refactor.

It reminds us to design well for your code. When you find the code is difficult to change and extend, refactoring should begin.

It remind us to make Test Case with unit test tools or frame as JUnit, to keep all change will not introduce errors.

It remind us to keep interface change as little as possible. It depends on a lot of design pattern.

Refactor makes me excited and to be chanllenege fo every one. I am willing to be a Archetecture to design more and mote perfect programe structure.

上一篇: Simple use on Junit
下一篇: JAgileSearch to be born

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:快速排序方法Java实现与分析。

下一篇:Tomcat 5.0 MySQL 4.1 ,在JSP页面中用JDBC(mysql-connector-java