To view parent comment, click here.
To read all comments associated with this story, please click here.
In how many ways can you declare 10 variables? The answer is 10! = 3.6 million ways. Almost 4 million ways.
The probability that the Google programmer chose exactly the same ordering as Oracle, would be 1 in 4 million. Highly unlikely.
Chances are more than 99.99999% the code is a copy.
I strongly disagree. I read through the sample so-called "copied code" and it's a lot less similar than code SCO claimed was 'copied' into Linux, and where it is similar it's pretty often due to implementing a known interface.
If you tell ten developers to write a quicksort function in C (for example) you'll get ten results which, while not identical, will be very similar and will be more similar to each other than these examples, right down to identical variable deceleration order. Even if there are a billion ways you *could* do the same thing, chances are culture, tradition and best practices will reduce that set down to a relatively small handful of similar implementations.




Member since:
2009-05-19
http://www.binplay.com/2010/10/look-at-copied-oracle-code.html
And yet, reading Oracle's code once, I can write the code that is very similar to the one found in Harmony. That, btw, would not constitute a copyright infringement. (Since it follows common industry conventions and has to conform to a published specification)
But then again, I am a Java dev for 10 years now. And Java has common naming conventions.
EDIT: Interesting point, the code is in the repository, but it's a test...
Edited 2010-10-29 23:11 UTC