As a developer , what are main reasons for refactoring ? Have you encountered such situations wherein management has asked for justification. ( we have a tough budget process and hence the question...)
Does the refactoring help in improved performance and hence improved customer satisfaction. We have several tables with huge data . Is there a design pattern that would help us with maintaing this / improve query performance.
Originally posted by Ram Gokul: As a developer , what are main reasons for refactoring ? Have you encountered such situations wherein management has asked for justification. ( we have a tough budget process and hence the question...)
One of the most important reasons for refactoring is that design degenerates over time. Even if you have a perfect design today, with tomorows new requirements it won't be perfect any more.
So, the longer a project takes, the more inapropriate the design becomes, if you don't do something against it. New features will take longer and longer, the risk of introducing bugs increases etc. Finally, the project becomes unmaintainable.
Refactoring is one of the most effective techniques to work against a decaying design, and thereby to extend the lifetime of a project and save the investment of the company and its customers.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Mushkan Desai: Can anyone explain me what is refactoring? I do work with databases and know abt normalization but wht actually refactoring mean?
Its about refactoring or database refactoring? If you dont know about the term refactoring. You had better read about refactoring and grab the general concept then come to DB refactoring. [ July 25, 2006: Message edited by: Adeel Ansari ]