Move Method: When a method is used more by another class than its own: - Cut from source class - Paste into target class - Update references Keeps behavior near its data! #OOP #Refactoring Example: user.getAddress() → address.format()


United States Trends
Loading...

Something went wrong.


Something went wrong.