Code Archeology
summary
Legacy Objective-C/Objective-C++/Swift code includes an 8,000‑line view controller, ~100 imports in AppDelegate, and pervasive shared singletons; the team uses unit tests, TDD, and 17 months of daily pair programming to extract inputs, assert NSAttributedString outputs, move UI logic into a view model, replace class methods with instance methods via decorated singletons, shift start‑time measurement to the top of launch, and measurably speed cold start while keeping behavior safe with injected dependencies.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 0:41What is Allegro
- 2:52What is Code Archeology
- 8:14Pyramid of Doom
- 9:14Obstacles
- 10:24What can you do
- 12:09Unit tests
- 14:04Archeology
- 15:36Code snippet
- 17:15Dependency injection
- 20:37Other code fragrances
- 22:44Dispatch
- 24:59Code Fragrance
- 30:43Traps
- 34:46Legacy code
related talks
37mGrowing a Joyful Codebase from Legacy Code
47mIntegrating modern native APIs with legacy code
01h 31mClean(er) Code for Large Scale Legacy Applications
27mMobiconf 2018: Carola Nitz, VideoLabs
55mSo, you inherited a large code base...
45mCongratulations! Legacy Code GURU Level Unlocked!
45mWorking with C++ Legacy Code
41mDomain Re discovery Patterns for Legacy Code
