Monday, September 3, 2018

My Second Favorite Refactoring

In my last blog post, I shared with you my favorite refactoring and it might not have been what you were expecting. I just can't leave the topic without sharing with you my second favorite refactoring, as well.

Like my favorite refactoring, my second favorite refactoring is also a safe refactoring, which means that if you have an automated refactoring tool that supports this refactoring then you can apply it to any legacy code, even when it's not under test, although you might have to do a bit more work than renaming a method.



from DZone.com Feed https://ift.tt/2C8WAr0

No comments:

Post a Comment