Tips on how to deal with legacy code, techniques and patterns. Including stuffs from Adam Tornhill, Michel Feathers, Simon Brown and Dan North.
From presentation at Websteps Kompetensbio November 2015.
3. What?
“Any code I didn’t write”
“Any code not covered by test”
“Any code older then n years”
“Any code that is hard to understand”
“Legacy code is all production code which scares you when
you have to change it.”
4. “All code required to deliver the business capability of the
system ”
Production code?
28. Break dependencies
How to proceed
Tama Leaver - https://flic.kr/p/dXgorH - CC BY 2.0The Enterprise Dependency - http://thedailywtf.com/articles/The-Enterprise-Dependency
33. Employ continuous learning
Daily standup with a learning focus
Coder dojos
Mob programming
Pair programming
Retrospective
Next steps
34.
35. Summary
Legacy code =
All production code which scares you when you have to change it.
Why
Ambition level
Where to start
Where you stand
Hotspot Analysis
Temporal Coupling Analysis