• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reasons for refactoring ?

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.refactoring.com/
 
author
Posts: 608
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From a database refactoring point of view, you might find Why Database Refactoring? to be of interest.

- Scott
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic