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()
0
0
2
0
15
United States เทรนด์
- 1. Friendly 61.6K posts
- 2. SNAP 708K posts
- 3. Big Dom 1,702 posts
- 4. #JUNGKOOKXCALVINKLEIN 43.1K posts
- 5. Jamaica 112K posts
- 6. Jessica 27.7K posts
- 7. Mac McClung N/A
- 8. Riley Gaines 34K posts
- 9. James Wiseman N/A
- 10. Mazie 1,299 posts
- 11. MRIs 7,785 posts
- 12. Runza N/A
- 13. Crash Bandicoot 6,539 posts
- 14. Sports Equinox 13K posts
- 15. Roberto Clemente 1,973 posts
- 16. 53 Republicans 4,499 posts
- 17. Heal 38.3K posts
- 18. Monday Night Football 6,468 posts
- 19. Sonic Prime 1,342 posts
- 20. RIP Beef 1,671 posts
Loading...
Something went wrong.
Something went wrong.