Most people know when refactoring is needed on a large scale. The daunting task looming over as an attempt is made to wedge one more feature into the now unrecognizable scope... it is time for the dreaded refactor!
On the small scale what refactoring is may be invisible and if ignored leads to the above sink or time and money. Probably most developers refactor a bit without conscientiously doing so. The DRY principle in play, the breaking apart an bloated function into multiple calls for clarity, etc. Paying particular attention to these small reasons to correct yourself will make it more likely that you can see the win in the medium scale refactors that are the big wins that allow you to avoid ever having to do a big refactor.
Still with me? Good.
No comments:
Post a Comment