in reply to Re^2: Analyzing large Perl code base.
in thread Analyzing large Perl code base.
You don't need to document the dreck you have. You need to document what marketing believes the dreck you have does. The last place you want to look for that is the actual source code.
Now, I only say this because the OP said (and I paraphrase) "I have a bunch of spaghetti that I can't figure out, so how do I clean it up?" The answer is "Write some tests, then refactor, then write some tests, then refactor, then ..."
Your testsuite then becomes the basis for your documentation. Obviously, you convert all the ok() calls into English or Swahili or whatever, but it's still the foundation.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Analyzing large Perl code base.
by kscaldef (Pilgrim) on Apr 15, 2005 at 16:40 UTC | |
by dragonchild (Archbishop) on Apr 15, 2005 at 17:26 UTC | |
by kscaldef (Pilgrim) on Apr 17, 2005 at 18:09 UTC | |
by dragonchild (Archbishop) on Apr 18, 2005 at 12:43 UTC |
In Section
Seekers of Perl Wisdom