Welcome to the Monastery | |
PerlMonks |
Re^2: general advice finding duplicate codeby armstd (Friar) |
on Jun 22, 2011 at 04:47 UTC ( [id://910851]=note: print w/replies, xml ) | Need Help?? |
I gotta agree with this one. 55k LOC really isn't that much. If you have a duplication problem, you probably have a factoring problem. Refactoring the code will not only help eliminate your duplication issue, but will also teach you what the code is doing, and result in a much better end result than simply eliminating duplication. Eliminating the trivial copy/pastes is a good start though, anything that helps maintainability will buy time for refactoring, helping others avoid making the problem worse while you race to make it better. --Dave
In Section
Seekers of Perl Wisdom
|
|