On a Monday morning in March 2026, a clerk at the made-up Nagarpur municipality rings the IT help desk. The holding-tax software, live since 2022, has printed a bill for a shop using the tax rate of a vacant plot. While the developer is still reading the clerk's message, three more requests are waiting. The Finance Division has changed the tax due date by law. The mayor wants an Excel export before Thursday's council meeting. And the IT office has announced that every office PC will move to a new browser version next month.
Nobody in the room is building anything new. Yet four different people want the software changed, and any one of those changes can break something that works today.
This is what most of a software system's life looks like: the day the building stops, the long and costly part begins. Who decides which change goes in first? How do you change code you did not write without breaking it? Which version is the Ward 5 clerk running? And when is software too old to mend? That is this chapter.
By the end of it you'll be able to name the four kinds of maintenance and classify a change request by the one fact that decides it. You'll draw the maintenance process, explain Lehman's laws and the staged model, tell reverse engineering from forward engineering and both from re-engineering, and weigh the choices for a legacy system. You'll spot code smells and name the refactoring that cures each.
You'll discuss reuse, COTS, porting and platform independence, compare open-source and proprietary software and choose between the main licences. And you'll explain how configuration management keeps change under control: baselines, the change control board, version control, branching, merging and release numbers.
We go in seven parts, from easy to hard: the long life after go-live and the four types; the process a change request follows; evolution and its laws; legacy systems and re-engineering; refactoring and code smells; reuse, porting and open source; and configuration management, version control and releases.