.net - How to refactor tightly coupled classes? -


I am trying to redo a large tightly coupled application and trying to make it more flexible and flexible I am

I have several unit tests, so I am hoping to step back again by step.

Which design & amp;

I can think of something:

  • This kind of refactoring job is your own Feel free to share the experience and best practice.

    UPDATE

    I am running this refacturing. Basically I can not apply a plugin system without removing some interfaces and those interfaces have been coupled very much, for which the application needs to be isolated in 4+ DLL so that the circular is compiled without contextual problem. In all seriousness, refactoring is not a lightweight venture, especially in tightly coupled systems. Before this work is being done, before it may seem like a meaningful task, but from my experience, it can be a once-in-a-load burden, because it is often the solution of any existing problems by implementing new bugs More likely to

    Before starting a major refactoring, you should consider what the benefits will be and what options will be (like creating a new product from scratch, restructuring only those parts, which are immediately needed etc.) ). Before starting, you definitely have a good understanding of architecture, roles and responsibilities, as well as the expected and existing behavior to ensure that some of you have broken.

    In addition, this may be how it will be after refactoring and how to implement current mapping, it is beneficial to design so you can stay on the point. You should do as many times as possible a regress test.

    When a design completely needs refactoring, it can be frustrating for the perfectionist, but sometimes the cost benefit / fight for someone If you should make changes, walk carefully and try not to do too much at a time.


    Comments

    Popular posts from this blog

    python - Overriding the save method in Django ModelForm -

    html - CSS autoheight, but fit content to height of div -

    qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -