Sunday, November 13, 2011

Refactoring

          The past couple weeks have focused in large part on the techniques of refactoring. I have found the readings over the past couple of weeks somewhat redundant and very long. Many of the techniques in the reading seem like common sense, such as changing the name of a method or the number of parameters. Many of the refactorings seem quite subjective like deciding whether to inline or extract a method. Thus, I think refactoring is not necessarily something that can be taught, but rather something that can only be learned through practice. To some extent, I wonder if the level of refactoring Fowler demonstrated is really practical. It is important to make code clear, concise, and efficient, but in the work place where deadlines play a large role it would be very time-consuming to perform such refactorings.

No comments:

Post a Comment