Documenting Legacy Code
I've previously mentioned that one of the traits of legacy code is that it lacks documentation or the existing documentation is of inferior quality. Let me now provide some guidance on how to document a legacy code project, or any project for that matter. Start With the Overview The minimum amount of documentation a piece of software has must be a description of what the software does. What problem is it trying to solve? A next step would be a high overview of how this problem is solved. Don't document the nitty-gritty details yet. Just a description…