• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reasons for refactoring ?

 
Ram Gokul
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.refactoring.com/
 
Scott Ambler
author
Ranch Hand
Posts: 608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From a database refactoring point of view, you might find Why Database Refactoring? to be of interest.

- Scott
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

"Design Debt" is a powerful metaphor that also non-technical people should have no problem to connect to: http://www.jamesshore.com/Articles/Business/Software%20Profitability%20Newsletter/Design%20Debt.html
 
Mushkan Desai
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone explain me what is refactoring? I do work with databases and know abt normalization but wht actually refactoring mean?

Thanks for taking time
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks for taking time

Did you already read the link Scott posted earlier in this thread? After reading the article, what aspects of it remain unclear?
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic