Every codebase eventually grows technical debt. Requirements change, things that used to make sense no longer don’t. People who came up with them aren’t around anymore.
When tech people say our world isn’t deeply messed up, I’m confused. It’s the biggest legacy system out there.