|
Authored by: Anonymous on Wednesday, April 18 2012 @ 09:59 AM EDT |
Yes, the rangeCheck() functions in TimSort and Arrays are exactly the same
(apart from the comments). However, the question is which came first? It has to
be that the standard package (Arrays) came first and Google copied the code when
they implemented the TimSort package into Android (and submitted TimSort back
for inclusion in Java). That is the problem here and it has been acknowledged by
Google that it happened.[ Reply to This | Parent | # ]
|
- Ah .... - Authored by: Anonymous on Wednesday, April 18 2012 @ 11:07 AM EDT
|
Authored by: Anonymous on Wednesday, April 18 2012 @ 10:19 AM EDT |
I have a file full of what I hope I correctly call perl 'idioms' - short
sections of code (too trivial to become modules) that achieve simple tasks and
which evolve with experience until I have the bestest cleanest most de-bugged
version at hand to plug into new projects.
If Google could argue that the rangecheck function was a well-known Java idiom
used routinely by many people and they introduced it to the Java codebase
themselves then there is not much of a problem.
If, however that was an individual's personal idiom and the same individual
submitted the code to the Java Codebase AND worked on the clean-room
implementation of Dalvik then that is a problem.
Google have already admitted fault on this so I guess further discussion is
moot.
It does, however, raise a question that makes me worry about looking at anyone
else's code ever again and that is that if I see an unusual but elegant way of
performing a trivial task and add it to my idioms file where is the threshold
between standing on the shoulders of giants and wilful copyright violation?
[ Reply to This | Parent | # ]
|
|
|
|
|