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

后端 未结 8 1995
醉话见心
醉话见心 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:51

    I would use some sort of UML tool to generate som class diagrams and other diagrams to get an overview of the system, and start splitting up and commenting like @Workshop Alex said.

提交回复
热议问题