Refactoring: rename method

One of the simplest refactoring methods is called Rename method. There are many reasons why one may want to change the name of some method. I think that main reason to rename a method is to give it a name that describes better what method is supposed to do.

Let’s see some code.

 

NB! This blog is moved to gunnarpeipman.com

Click here to go to article

No Comments