Law of the eternal temporary fix
In software, nothing is more permanent than a temporary solution.
Every program contains a line with the note 'tidy this up later'. Later never comes. The line survives three versions, two server moves and a change of company ownership.
Temporary solutions have an extraordinary constitution. Permanent solutions, carefully designed, get rewritten every two years. The patch applied at eleven at night to get the invoices going again, on the other hand, becomes heritage, with its own dignity and its own aura.
I look after a website where, twelve years ago, someone wrote a little script 'just for the weekend'. Today it holds up the entire catalogue. Nobody dares touch it. Now and then I look at it, quietly, with respect, the way you look at the load-bearing wall of an old farmhouse: crooked, yes, but take it out and the whole thing comes down.