开发者

What is the best way to start breaking down an existing Application?

Currently, I have a project, where I have to add some fe开发者_如何学Goatures on to it, but the coding hasn't maintained any standards and it is extremely tough to break it down into manageable and understandable parts, to get started. And there is no documentation, to help out?

How would you start such project, if you had to?


Steps:

  1. (Optional) Cover system with hi-level automatic tests, which test system through UI example
  2. Carefully refactor to testable code
  3. Cover functionality with unit tests
  4. Refactor code to make implementation of new features possible
  5. Implement new features

Manuals:

  1. Book by Michael Feathers: Working Effectively With Legacy Code
  2. Book by Martin Fowler: Refactoring
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜