2 ms·
> I will be left with a nonsensical patch This is the current state of things, though. Heuristic diff algorithms generate nonsensical patches all the time. Th
by modeless 7y ago
> I will be left with a nonsensical patch
This is the current state of things, though. Heuristic diff algorithms generate nonsensical patches all the time. They may be technically correct but completely obscure the meaning of the diff.
The simplicity of the diff algorithm does not help me understand a bad diff. And these diff algorithms are already not that simple. A machine learning approach could still guarantee technical correctness of the diff, but give patches that make sense more often.