68
Working Effectively with Legacy Code Michael Feathers [email protected]

Working Effectively With Legacy Code

Embed Size (px)

DESCRIPTION

Michael Feather's Working Effectively with Legacy Code presentation for Agile India User Groups in Bangalore, Delhi and Mumbai

Citation preview

"; pageText += ""; pageText += "Quarterly Report"; pageText += ""; 6. Continued.. if (results.size() != 0) { pageText += ""; for (std::vector::iterator it = results.begin();it != results.end(); ++it) { pageText += ""; pageText += "" + it->department + ""; pageText += "" + it->manager + ""; char buffer [128]; sprintf(buffer, "$%d", it->netProfit / 100); pageText += std::string(buffer); sprintf(buffer, "$%d", it->operatingExpense / 100); pageText += std::string(buffer); pageText += ""; } pageText += ""; } else { 7. Continued.. pageText += "

No results for this period

"; } pageText += "