Re:Grokking Big Unfamiliar Codebases
by ahartmetz on Friday January 27, 2023 @07:32AM
(#34545274)
And it's relevant in more important ways than "I'm cleaning up and this isn't used, so I should delete it". Quite often, when cleaning up, you find pieces of code that make assumptions that contradict each other. It's a real head scratcher until you figure out that one of these pieces of code is obsolete and never executed anymore (or has never been executed), so its assumptions are irrelevant. The cleanup resulting from that might not look like much, but it removes a major trap when trying to make sense of the code.
[ Parent
| on HN ]
There are no comments on this comment yet.