Strategies for Refactoring and Testing Legacy Code
Many developers cringe at the thought of inheriting and maintaining someone else's code base, particularly if that code base consists of large, complex classes and methods with little separation of concerns. It can be difficult to apply the principles of clean code and to write effective unit tests when you inherit code that is difficult to test. In this session, I will show you strategies for working with, maintaining, testing, and refactoring legacy code. You will learn how to explore a complex code base and how to refactor it in order to make it more maintainable and testable.
David Giard is a former accountant and a former biochemist, who has been developing solutions using Microsoft technologies since 1993. He is a Microsoft MVP; an ASP.NET Insider, a member of the INETA Board of Directors; and a past President of the Great Lakes Area .Net User Group. David has presented at dozens of conferences and user groups around the country. He is the host and producer of the mildly popular online TV show Technology and Friends. He is the co-author of the Wrox book Real World .NET, C#, and Silverlight. You can read his latest thoughts at www.DavidGiard.com. David lives in Michigan with his two sons.