~/talk

How to write better legacy code: A developer's wishlist

Talkat NDC Melbourne 2022 · 2022-06-20..06-24· [developer-experience]
links:none on file
slides:none on file

Maintaining a 15‑year codebase proves the decisions that matter: extract risky domains and migrate domains to microservices so each piece upgrades to the latest .NET separately; run in containers and expect AKS style ingress (TLS termination broke assumptions about port 443); avoid server time zone assumptions and use UTC everywhere; remove dead pages and unused projects; require commit history and enforce pull requests with work item links; and cover code with unit, integration and perf tests and write integration tests for third‑party APIs to catch surprises early.

AI-written summary · about

  1. 0:00Introduction
  2. 0:59What is a legacy code
  3. 1:39Why do we keep legacy codes
  4. 2:21How to avoid having a legacy code
  5. 3:01What is maintainability
  6. 3:44Loosely coupled
  7. 6:17Architecture
  8. 7:05Assumptions
  9. 9:49History
  10. 12:00Example
  11. 14:24Tests
  12. 15:58Clean up
  13. 17:34Complexity
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.