News for hackers. Stuff that matters.
Re:Difftastic: A diff that understands syntax by vcmiraldo on Wednesday March 30, 2022 @02:57PM (#30859379)
Copy just copies once. The need for duplicate is clear if you're trying to diff something like `t = [a]` and `u = [a, a]`. You could copy `a`, but you'd have to decide whether to copy it on the first or second position; the second one would be classified an "insertion" by any ins/del/cpy-algorithm. If you instead opt to NOT make that choice, you can say: pick the source `a` and duplicate it instead

There are no comments on this comment yet.