[PyKDE] eric3 question ... project
Gordon Tyler
gordon at doxxx.net
Fri May 28 02:47:01 BST 2004
Dave S wrote:
> ...mmm... refactoring ... some kind of speeding up ? - Ill give it a whirl.
Refactoring is the process of incrementally improving the
design/implementation of code while retaining its behaviour. An example
of a particular refactoring is Extract Method, where a code fragment is
turned into a separate method with a name which explains its purpose.
One of the simpler refactorings is Rename -- renaming a class or a
method or a field to better reflect what it is. The point of using a
tool to perform the renaming is that it should change all references so
that the program continues to function afterwards.
Refactoring is easily done in statically-typed languages such as Java
but it's somewhat harder in dynamically-typed languages such as Python.
Martin Fowler wrote a book on refactoring, called "Refactoring" ;) which
is considered recommended reading. He also maintains a website on the
subject: http://www.refactoring.com/.
Ciao,
Gordon
More information about the PyQt
mailing list