Skip to content

Ctrl-Alt-Del: Learning to Love Legacy Code - Dylan Beattie

2019 57 min NDC Conferences en YouTube

The world runs on legacy code. For every greenfield progressive web app with 100% test coverage, there are literally hundreds of archaic line-of-business applications running in production - systems with no tests, no documentation, built using out-of-date tools, languages and platforms. It’s the code developers love to hate: it’s not exciting, it’s not shiny, and it won’t look good on your CV - but the world runs on legacy code, and, as developers, if we’re going to work on anything that actually matters, we’re going to end up dealing with legacy. To work effectively with this kind of system, we need to answer some fundamental questions: why was it built this way in the first place? What's happened over the years it's been running in production? And, most importantly, how can we develop our understanding of legacy codebases to the point where we're confident that we can add features, fix bugs and improve performance without making things worse? Dylan worked on the web application stack at Spotlight (www.spotlight.com) from 2000 until 2018 - first as a supplier, then as webmaster, then as systems architect. Working on the same codebase for nearly two decades has given him an unusual perspective on how applications go from being cutting-edge to being 'legacy'. In this talk, he'll share tips, patterns and techniques that he's learned from helping new developers work with a large and unfamiliar codebase. We'll talk about virtualisation, refactoring tools, and how to bring legacy code under control using continuous integration and managed deployments. We'll explore creative ways to use common technologies like DNS to create more productive development environments. We'll talk about how to bridge the gap between automated testing and systems monitoring, how to improve visibility and transparency of your production systems - and why good old Ctrl-Alt-Del might be the secret to unlocking the potential of your legacy codebase. NDC Conferences https://www.ndcconferences.com/ https://ndc-london.com/

Chapters

  1. 0:00 First Time
  2. 8:35 Somethings Coming
  3. 10:46 Introduction
  4. 11:18 Spotlight
  5. 13:41 Rate of change
  6. 15:53 Nostalgia
  7. 16:53 Legacy Code
  8. 17:11 How Legacy is this
  9. 17:34 The Legacy Codeometer
  10. 17:55 What is Legacy Code
  11. 18:30 Wikipedia
  12. 19:19 Michael Feathers
  13. 19:43 Legacy Code Definition
  14. 21:08 Double Entry Bookkeeping
  15. 22:25 Why you shouldnt interrupt
  16. 22:58 The mental model
  17. 24:25 Downhill invention
  18. 25:07 The Dungeon Master
  19. 26:30 Code that already exists
  20. 28:11 Why MDC
  21. 28:46 Resume
  22. 29:00 The Message
  23. 30:24 Trust
  24. 32:43 Computer Science Education
  25. 34:03 Learning in a Hurry
  26. 34:51 How Many Words
  27. 35:19 Comparative Analysis
  28. 36:15 The Linux Kernel
  29. 37:20 Richard Feynman
  30. 39:02 The Scientific Method
  31. 41:03 Sandbox Environments
  32. 44:06 Continuous Deployment
  33. 46:02 Classic ASP
  34. 47:02 Legacy Code Fear of Change
  35. 48:14 Star Trek The Next Generation
  36. 49:48 Collective Responsibility
  37. 52:06 Keeping Track
  38. 54:01 Done
  39. 54:30 Confidence
  40. 54:53 Conclusion
Channel
NDC Conferences
Views
46