~/talk

Doctor, Don't Defenestrate: What to Do with Legacy Scripts

links:none on file
slides:none on file

Argues for triaging legacy scripts by scoring risk value and maintainability then doing specific work: add inline documentation and a README, write characterization tests with Pester to capture current AD-cleanup behavior, perform minimal refactors for clarity and reuse, and enable WhatIf support and a delete-users switch. Uses a real AD cleanup script, mocks AD calls in tests, runs the suite until tests stay green, and shows the script becomes safer, more maintainable, and ready for iterative replacement.

AI-written summary · about

  1. 0:00Start
  2. 2:09Triage
  3. 8:53The Strangler Vine Pattern as Described by Martin Fowler
  4. 10:51Legacy Code
  5. 11:09When Do You Doctor It
  6. 14:09Inline Commenting
  7. 17:15Reference Documentation
  8. 18:14Notes
  9. 18:57Description
  10. 19:37Inputs and Outputs
  11. 21:37Readme
  12. 22:41Characterizing Current Behavior
  13. 24:31Default Behavior
  14. 27:05Refactoring
  15. 37:37Making Work Visible
  16. 41:11Resources
~/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.