5 ms·
> Refactoring hard/impossible to understand 2000+ line methods (least favorite - so risky) Maybe I'm just weird, but for me that's one of the most satisfying t
by gitgud 7y ago
> Refactoring hard/impossible to understand 2000+ line methods (least favorite - so risky)
Maybe I'm just weird, but for me that's one of the most satisfying things to do.
Like reaching a big boss in a video game and having to slice pieces off him until he's no longer a problem.
- tonyarkles 7y ago> Maybe I'm just weird, but for me that's one of the most satisfying things to do. I'm with you, but also agree with the GP. It's super satisfying to get stuff like that cleaned up, but one of the most shocking things I've come across is callers who do absolutely bizarre things that rely on side effects from those methods. More than once, refactoring a big method like that has spiraled out of control fixing all of the callers as well.