Agile2014 has ended
View analytic
Thursday, July 31 • 10:45 - 12:00
Sustainable Legacy Code Refactoring: A Systematic and Stepwise Approach (Amr Noaman) FULL

Sign up or log in to save this to your schedule and see who's attending!

Limited Capacity seats available

One of the most painful activities in software development is maintaining extremely poor legacy code! Moreover, teams transitioning to Agile suffer from challenges like moving towards shorter iterations with shorter time for regression testing, trying to cover poor code with automated tests, prioritizing which refactorings to apply on which code, and convincing managers with the value of refactoring.

In this session, I will present a quick summary about approaches to tackle these challenges, like: *'Whole or nothing', 'technical-hero', 'try-retry', 'as per the book'* approaches. Then, I will present a simple, more sustainable, and stepwise approach. This approach divides the effort to refactor legacy code into three stages: (1) *Quick-wins*; simple and least risky enhancements (2) *Divide-and-conquer* the code into functional, utility, and architectural components, with identified and clear component interfaces. (3) *Inject-quality-in* the code by wrapping components with automated tests. I will also give an overview of several experiments and case studies applying this approach and will present some interesting observations and insights about refactoring legacy applications. Finally, I will drive you through the roadmap and will demonstrate step-by-step how refactoring a piece of cluttered and spaghetti code takes place.

avatar for Amr Noaman

Amr Noaman

Co-Founder & Principal Consultant, Agile Academy
Over the last 7 years, Amr’s primary role was to spread agile awareness and lean thinking in software organizations in Egypt and the Middle East. Amr is the co-founder of Agile Academy and Egypt's Lean & Agile Network, one of the largest Agile communities in the Middle East. | In... Read More →

Thursday July 31, 2014 10:45 - 12:00
Osceola 1/2