Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This could be an investigation work to get hard data. From personal experience would say that exist many cases where a given code can only be written in a given manner. On other cases, people simply copied the code many years ago and never again know where it can be found.

For me, more relevant is to compare the variable names. If both code snippets have very similar variable names, then one of them is likely a copy.



I've seen cases where names where changed, but comments retained with the same typos as in the GPL package...


I've found a couple of Chinese companies offering compiled versions of my open source code before...They would change the class names and stuff but keep all the interface methods the same so it was pretty easy to figure out what they had done.


Yes. Found this once on the code from a Chinese developer. Really made a big effort to rewrite the code but then the comments were done in a too perfect English that made it obvious as copied from elsewhere.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: