I think we'll have smarter AI shifting through those legacy codebases of the future, not sure if that'll be a big problem.
The way I see this, GitHub Copilot and the like are true next-gen compilers, translating English into code. They'll only get better with time.