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

Btw, I remember there was a law stating that the code less than 10(?) lines is not copyright-able, no?


Wrong -- Google lost the first of the Android/Java battles to Oracle for 9 lines of "copy/pasted" range check code.[1][2][3]

[1] https://news.ycombinator.com/item?id=3951575

[2] https://news.ycombinator.com/item?id=3951480

[3] http://www.theverge.com/android/2012/5/9/3010404/judge-denie...


My first reaction was to say "it should be based on the number of CPU/GPU/*PU instructions". But then, there are things like this: http://www.norvig.com/spell-correct.html. I wonder how much actual new-ness you can pack into, say, 100 instructions on a modern CPU.


That would be a a silly rule, for better or worse 10 lines of Haskell might perform the computation of 500 line of Java (even if they took you the same amount of time to write.. heh).


Well, maybe they made this rule in days when COBOL was in hype? ;)


Or, say, Befunge...




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

Search: