Found in 2 comments on Hacker News
yuppie_scum · 2023-03-08 · Original thread
I think you are talking about technical debt. Read the classics: The Phoenix Project, DevOps Handbook and Google SRE Book for plenty of discussion. Another great book on legacy software: https://www.amazon.com/Kill-Fire-Manage-Computer-Systems/dp/...
masterj · 2022-01-17 · Original thread
The author also has a long history of working at many places that aren't defense contractors, and a great book on working with large legacy systems (read: Cobol, mainframes, et al but relevant to all developers) https://www.amazon.ca/Kill-Fire-Manage-Computer-Systems/dp/1...

Fresh book recommendations delivered straight to your inbox every Thursday.