Need refactoring ideas for Arrow Anti-Pattern

后端 未结 7 1493
刺人心
刺人心 2021-01-02 02:13

I have inherited a monster.

It is masquerading as a .NET 1.1 application processes text files that conform to Healthcare Claim Payment (ANSI 835) standards, but it\'

7条回答
  •  天涯浪人
    2021-01-02 02:33

    One thing I do in these cases is to use the 'Composed Method' pattern. See Jeremy Miller's Blog Post on this subject. The basic idea is to use the refactoring tools in your IDE to extract small meaningful methods. Once you've done that, you may be able to further refactor and extract meaningful classes.

提交回复
热议问题