That's not how rewrites create new bugs. It's not type or lifetime or error checking bugs, for the most part. It's "sometime in the ten years that this code has existed, someone ran into this weird corner case. This little detail right here fixes it. But the guys doing the rewrite weren't around ten years ago, and they don't know that the corner case even exists, so they don't know which specific details of the existing code they need to preserve." And so the handling for corner cases gets lost.
Doing a new implementation that preserves all of the features of existing code in all scenarios is really hard. The re-implementation team never knows all the scenarios that matter.
Is AI going to fix this? AI won't know all the scenarios and corner cases, either.
Doing a new implementation that preserves all of the features of existing code in all scenarios is really hard. The re-implementation team never knows all the scenarios that matter.
Is AI going to fix this? AI won't know all the scenarios and corner cases, either.