News for hackers. Stuff that matters.
Re:I hate cut-and-paste by mjschultz on Monday October 24, 2011 @11:53AM (#3150119)
Does anyone know if there are tools out there that look at a code base and find "similar" snippets of code?

I would expect such a tool to parse the language into AST form and find branches that are the same except some identifiers and a few other details. It is probably intractable in general, but I think it is feasible for most code bases.

There are no comments on this comment yet.