2006/11/20

.. that could be better implemented!






Refactoring...

Things can always made better, there is no perfect code, you can always improve your code and applications.
But, how? The code is already there, but you need to change it so it may support an additional feature that you must add now.
Well, as many of us has fall into this situation, somebody created refactorings.

What is refactoring?
"Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior." Martin Fowler, refactoring.com
This means you can change or improve your code, causing the least impact possible and improving your code.

How can I do a refactoring?
Well, here I have a site by Martin Fowler where you will find books, links, tools and a catalog... yes, a refactoring catalog!
Site: http://www.refactoring.com/
Catalog: http://www.refactoring.com/catalog/index.html
This catalog is a book of recipes for specific situations, in an easy way it will tell you how to do the refactoring you need.

I hope this help you a lot.

Best regards,
Feto

No comments: