Error!
Success!

Refactoring: extract method

0
kicks

Refactoring: extract method  (Unpublished)

Extract method is one of the most popular refactoring method when dealing with legacy code. In legacy code we can often find methods that are very long. My favorite findings methods about 2000 lines of code. Cool, isn’t it? Those methods have usually many responsibilities and they are hard to debug. Having more than one responsibility in one method leads also to duplicated code because some responsibility is required in more than one place in code.


Kicked By:
Drop Kicked By: