Thursday, May 6, 2010

Possible refactorings reference list

I've recently encountered a catalog of possible refactorings created (mostly) by Martin Fowler. Although the author is a great authority known for some complex (yet brilliant!) solutions, this list is mostly consisting of the obvious refactorings you do (or even unconsciously implement along the way) on a daily basis. Although mostly simple, I encourage to get familiar with them  in your spare time as there may be some things you may have missed in your (self-)development.

I would consider this catalogue a checklist of "things one should know about refactoring".

By the way, I encourage you not to follow these suggestions blindly, as there are situations in which the result of refactoring is not the desired situation (note the dual refactorings!).

Enjoy.