Refactoring Legacy Applications: A Case Study[重构遗留程序的一次案例学习]
Legacycodeisstinky.Everydecentdeveloperwouldliketorefactorit,andinordertorefactorit,oneideallyshouldhaveasuiteofunittestcasestopreventregressions.However,writingunittestsforlegacycodeisnoteasy;thelega