5 ms·
It is an accurate statement of the law in the US, but "purely functional expression" is not used in the sense of a mathematical function. It basically means exp
by jkaplowitz 4y ago
It is an accurate statement of the law in the US, but "purely functional expression" is not used in the sense of a mathematical function. It basically means expressions that solely reflect the way you need to do the thing to accomplish the function you are trying to achieve, without any significant creative element.
For example, if I asked you to write Java code to print the sum of two integer variables named a and b, followed by a newline, you'd probably write pretty much exactly this:
System.out.println(a + b);
You might vary the spacing around the punctuation, or a few other unimportant details, but there's not much room for creativity there while still accomplishing the desired function. It isn't copyrightable.
And this is a good example of how the word functional means something non-mathematical here: that isn't even a functional expression in the mathematical sense, since there's no return value and the printing is a side effect. It's purely imperative.
- monsieurbanana 4y agoIt seems like a very blurry line for any non-trivial piece of code.
- danShumway 4y ago> It seems like a very blurry line Opinion me, this statement could apply to the vast majority of copyright law in the US.
- visarga 4y agoHaha, imagine they make all the noise now and get language models to solve attribution, but as a side effect all human plagiarism that is hiding in plain sight will be revealed as well. Be careful what you wish for.
- jkaplowitz 4y agoIt is a blurry line, like many legal tests. Human judges and/or juries apply this test in case of litigation, as advised by whatever experts the parties are able to to offer.