tags:

views:

44

answers:

1

Why do we do refactoring? What are the benefits of refactoring? What problems can be avoided by performing refactoring the code of a software tool?

+3  A: 

While developing an application it often happens that your goals change. Especially if a non-technical person is your client it often happens that through his bad description you are going to modify the code again and again.

At some point everything will get really messy and needs cleanup - that's refactoring.

nikic