How to refactor a Delphi unit with 10000 lines with no documentation?

后端 未结 8 2009
醉话见心
醉话见心 2021-02-02 00:28

I have been assigned the task to refactor a Delphi unit. Wow. 10000 lines of code, no documentation, tons of copy and paste code.

THere are many methods made with copy a

8条回答
  •  北恋
    北恋 (楼主)
    2021-02-02 00:52

    In addition of understanding the code etc, these tools may help refactoring and reorganizing the project:

    Model Maker is powerful design, reverse-engineer and refactoring tool: http://www.modelmakertools.com/modelmaker/index.html

    Model Maker Code Explorer is powerful plugin for Delphi IDE to help with refactoring, code navigation etc: http://www.modelmakertools.com/code-explorer/index.html

提交回复
热议问题