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

Working Effectively With Legacy Code

Nov 14, 2014

Download

Business

Naresh Jain

Michael Feather's Working Effectively with Legacy Code presentation for Agile India User Groups in Bangalore, Delhi and Mumbai
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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 += "