3 ms·
Finding copy-pasted pieces of code that have been modified in place is actually a rather difficult problem. I've been working on a tool for this in my spare tim
by silentbicycle 18y ago
Finding copy-pasted pieces of code that have been modified in place is actually a rather difficult problem. I've been working on a tool for this in my spare time over the last several months, and I hope to release it sometime this summer. Pinning down what's "similar enough" is subtle, and if you go too far, it complains that boilerplate-y code in e.g. Java is unnecessarily redundant. (While this is certainly true, it's not useful.)
I look forward to the upcoming structured programming revolution. Some day, people will use subroutines!