Site hosted by Angelfire.com: Build your free website today!


 


Table of Contents

  1. What is Refactoring ?
  2. What is a refactoring Tool/Browser ?
  3. Are there any tools available ?
  4. More Details ...

What is Refactoring

I quote from Martin Fowler from his book "Refactoring-Improving the design of existing Code"

Refactoring is the process of changing code in such a way that it does not alter the external behavior of the code, yet improves its internal structure. In essence when you refactor you are improving the design of the code after it has been written.

“Improving the design after it has been written”, that’s an odd turn of phrase. In our current understanding of software development we believe that we do design, and then we code. A good design comes first, and the coding comes second. Over time the code will get modified and the integrity of the system, its structure according to that design gradually fades. The code slowly sinks from engineering to hacking.

"Refactoring is the opposite to this. With refactoring you can even take a bad design, chaos even, and rework it into well designed code. Each step is simple, even simplistic. You move a field from one class to another, pull some code out of a method to make into its own method, push some code up or down a hierarchy. Yet the cumulative effect of these small changes can radically improve the design. It is the exact reverse of the normal notion of software decaying."

Back to Top

What is a refactoring tool/browser ?

A tool to make refactoring changes is called a refactoring browser or a refactory

Back to Top

Are there any tools avaialble ?

There is a refactoring browser for Small talk

To get a look at a Smalltalk-based refactoring browser, take a look at http://st-www.cs.uiuc.edu/~brant/RefactoringBrowser

Back to Top

More Details ...

look at     www.refactoring.com

Back to Top

Copyright © 1999  [VinodKiran]. All rights reserved.
Revised: Μάιος 01, 2000 .