E N D
Sven Peters / Atlassian Wenn Code altert Tipps, wie Wartungsprojekte frisch bleiben
Sven Peters Ambassador @svenpet svenpet.com mobro.co/svenpet
Disclaimer my Experience @svenpet svenpet.com
“ Nothing has a more profound or long- lasting negative effect on the productivity of a software team than a mess. Nothing. “ Robert C. Martin
? Maintenance projekt
? 5 years
? 1M+ lines of code
? 2M+ lines of code
? lost overview lines of code
Hardware Bath Tub Curve
Software Bath Tub Curve
Software Bath Tub Curve
How long does it take? 8 hours no Tests! grüneWiese We need it in 6! OK, I‘ll do it in 4!
too many cooks... ...spoil the broth
Broken Windows
Don‘t stop the Engines
THE DEVELOPER THE MANAGER THE SCRUM MASTER There is no Plan B
Boy Scout Rule Leave the campground cleaner than you found it.
Toolchain The
readability improve
Naming “ Any fool can write code that a computer can understand. Good programmers write code that humans can understand. “ Martin Fowler
comment no
test automated
Legacy Code Change Algorithm by Michael C. Feathers 1. Identify Change Points 2. Make Changes and Refactor
Legacy Code Change Algorithm by Michael C. Feathers 1. Identify Change Points 2. Find Test Points 3. Break Dependencies 4. Write Tests 5. Make Changes and Refactor
ingle Responsible Principle pen Closed Principle iskow Substitution Principle nterface Segregation Principle ependency Inversion Principle
Root Cause Analysis You Ain‘t Gonna Need It Single Level of Abstraction Favour Composition over Inheritance Seperation of Concerns DRY Don‘t repeat yourself KISS - Keep it simple, stupid
Clean Code Developer von Stefan Lieser & Ralf Westphal clean-code-developer.de
Evolve Clean Code Developer &
Sven Peters Atlassian @svenpet