in reply to Re^2: Analyzing large Perl code base.
in thread Analyzing large Perl code base.
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 |