Precisely because we started to complexify that code once we lost the overall picture of the problem/solution...
And we stopped modifying once it was humanely impossible to add a feature without breaking two others.
Such code is a sort of local optimum...

:-)) I thoroughly dislike those just trying to make a genetic optimizer less prone to be stuck in them.
But then the real world mainly consists of those.
SCNR,
Herbert