working effectively with legacy code

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

Upload: naresh-jain

Post on 14-Nov-2014

15.352 views

Category:

Business


1 download

DESCRIPTION

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

TRANSCRIPT

"; 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 += "