News for hackers. Stuff that matters.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by d_j_b on Friday May 20, 2016 @04:22AM (#11736279)
"For me, declaring code is not code," Page said.

This sentence sounds pretty odd to me. What does Larry Page mean?

Re:CEO Larry Page defends Google on the stand: “Declaring co... by scotty79 on Friday May 20, 2016 @04:30AM (#11736301)
I think he means that the code that doesn't do anything, just describes the interface between two software components is not a code (that you should be prevented from copying) because of its one to one equivalence with the interface.

Describing interface with words is exactly the same as declaring it with code. So such code is nothing more or less than verbal description of the interface (or any other description of it using any other syntax).

Not sure if that helps. If you can copyright interface, or just algorithms. Unless Java interface was specifically made free and open by Sun then it's really clear cut case.

Re:CEO Larry Page defends Google on the stand: “Declaring co... by amelius on Friday May 20, 2016 @04:44AM (#11736352)
Does this mean that all code written in pure functional languages is not code, since it does not "do" anything?
Re:CEO Larry Page defends Google on the stand: “Declaring co... by echion on Friday May 20, 2016 @05:11AM (#11736468)
It describes calculations or operations, so functional code still seems to perform or describe some actions.

Constraint logic programs seem more of the grey area I think you're talking about. Is a set of constraints "code" (c.f. https://en.wikibooks.org/wiki/Prolog/Solving_a_Logic_Puzzle#... )?

Re:CEO Larry Page defends Google on the stand: “Declaring co... by mseepgood on Friday May 20, 2016 @08:15AM (#11737142)
What if I perform calculations with C++ type declarations? C++ templates are Turing-complete after all.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by rootlocus on Friday May 20, 2016 @06:22AM (#11736739)
You're confusing declarations with declarative.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by Maarten88 on Friday May 20, 2016 @04:28AM (#11736294)
I think he means header files compile to nothing, they do not end up as actual computer instructions. They only serve to help programs call the actual implementations (which he'll see as the real code) correctly.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by raphman_ on Friday May 20, 2016 @04:51AM (#11736385)
I'm not sure if this interpretation of his words is what he meant to say.

I'd argue that code that "compiles to nothing" can be protected by copyright, too, even if it is not distributed to customers. E.g., extensive documentation inside comments in the source files is definitely copyrighted. Complex build rules might be copyrightable, too, although they definitely end up in the distributed application.

Therefore, it would probably be counterproductive to assert such a thing in court.

Re:CEO Larry Page defends Google on the stand: “Declaring co... by return0 on Friday May 20, 2016 @05:09AM (#11736456)
Google is trying to make the case that interfaces aren't 'code' here. That's the entire case here, right?
Re:CEO Larry Page defends Google on the stand: “Declaring co... by raphman_ on Friday May 20, 2016 @05:26AM (#11736518)
Yes. I just wanted to clarify that code that "compiles to nothing", e.g., build instructions, may still be copyrightable. Therefore, I do not think that Page wanted to extend his definition of "non-code" to anything besides interfaces/declarations.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by sambe on Friday May 20, 2016 @06:07AM (#11736685)
No. Previous case already found APIs can be copyrighted. This one is about fair use.

Unless that claim about interfaces becomes crucial in some unforeseen way.

Re:CEO Larry Page defends Google on the stand: “Declaring co... by adrianN on Friday May 20, 2016 @04:58AM (#11736406)
So fancy type-level assertions that prove the correctness of your program are also not code? That's a weak argument.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by Tomte on Friday May 20, 2016 @04:36AM (#11736320)
But declarations can have an effect on the instructions generated.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by ng12 on Friday May 20, 2016 @04:29AM (#11736300)
I read it as .h vs .c files. There's code that declares what code is, e.g. the API, and then the actual implementation of that API. His argument is only the latter is copyrightable.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by 20andup on Friday May 20, 2016 @04:27AM (#11736292)
He means declaring method signatures (ie/ Java's API) is not code in itself.
Re:CEO Larry Page defends Google on the stand: “Declaring co... by 77pt77 on Friday May 20, 2016 @04:49AM (#11736370)
interfaces are not code.