Refactoring or cleaning up the code you wrote quickly
Recently I had to write an application very quickly,
which mean that I did not have the time to design the application as throughly
as I would have liked. In fact I had to make some very pragmatic decisions. I am
sure that most developers find themselves in this situation more often than they
would like. In the end it does not matter how good your code is, the important
thing is to ship something. Luckly, the application is working and has shipped
and no significant bugs have been found . However, I want to extend the
application so now that I have some breathing space I have the opportunity to
clean up the code.
I saw a reference to a C# Refactoring tool from Xtreme Simplicity a while a go,though
sadly I don't have the original blog reference any more. I have to say that C#
Refactory (http://www.xtreme-simplicity.net/ ) really
has made the whole exercise so much easier. Sadly it is not open source like
nant ( http://nant.sourceforge.net) and
nunit (http://nunit.sourceforge.net) but it is not too
expensive and I think it has increased my productivity as well as improving the
quality of my code. After using JRefactory when developing Java applications it
was great to be
able to use another similar but more powerful tool for my C# application.