> But what is discussed here is not the cookbook but just the table of contents.
You probably can't copy that either. That's like Oracle's example of making a new Harry Potter book with all the same chapter titles.
I don't know if there are any good examples of APIs one can make based on books..
Chapter 1: Introducing the main character .. Chapter 6: Introducing side character Chapter 7: Arrival at the main story place .. Chapter 17: The final chapter
In fact there are whole classifications of literature that identify basic storylines, tropes, structure etc. . The reason you couldn't copy the harry potter chapter titles exactly is because they contain specific titles, e.g. "the boy who lived", but "<my own catchphrase for main character>" as the first chapter title is again very, very common.
Also, the argument is about reuse/interoperability. Recipes are something you use and the naming is functional and it is important that it is similar enough. I am not aware of harry potter chapters being used like that, but if authors start talking about "The sorting hat" chapter as a term of the art , then yes you should be able to use that term. Similarly to how you can introduce a weapon in your novel without paying royalties to Chekhov.
I agree very much. I just don't think books are very useful for expressing those ideas. Interoperability is rarely an important consideration when writing a book.
Rename java.lang.String to google.java.lang.String and make google's dex compiler automatically look in the google namespace by default.
Not allowed? How about we just hash the Java API names and then let the compiler automatically apply a mapping from hash to google name.
In the worst case Google is probably still allowed to ship a tool that renames uses of the java api directly in the source code and switches it over to whatever Google's naming scheme is. If this wasn't allowed it would be equivalent to making it illegal to not use the Java api because doing the same chance by hand would is not meaningfully different.
> But what is discussed here is not the cookbook but just the table of contents. The actual recipes are different.
We should be very cautious about trying to tackle the subject in this way. Illustration by analogy can be useful for explaining subtle concepts, but argument by analogy will only introduce more confusion.
The fact is that lots of things can be "work" but that we as society do not want to bestow copyright for them. Again, the question is not "did someone put in work to make a good API?" but "are APIs something that should be copyrightable?".
Going with the recipe analogy: Society might be willing to give you some kind of recognition for "Joe's sandwich with this detailed recipe", but it is not going to give you an exclusive monopoly over "any and all dishes consisting of (bread, topping, condiment, vegetable)". Copyright is intended to reward creation, not to stifle any sort of however far away competition.
You may disagree but here they are before the supreme court to rule about this. So the only thing I'm confident about is that it's not trivial question.
As said by others fair-use is a totally other point and if granted could offer Google some relieve.
Oracle must win on both points.
But what is discussed here is not the cookbook but just the table of contents. The actual recipes are different.
Making another cookbook with chapter 1: salads, chapter 2: soups etc. is common practice. The question is how much detail you are allowed to copy in order to allow for interoperability.
For instance, a dinner might call for the Oracle potato salad of Section 1.3 and Oracle tomato soup of Section 2.2. If your cookbook has your recipes (not Oracle's) in the same Sections in your book, that is useful for your readers/chefs, since they can easily switch their menus to your book.
Are you allowed to do that? That is the question.
> arguing that APIs are non-copyrightable is essentially carving out an exception for a specific type of code.
Disagree. APIs are talking about code but not code by themselves alone. Just like "The potato salad recipe is in Section 1.3" talks about a recipe but is decidedly not a recipe by itself.
If the law currently thinks that should be copyrightable, then the law should be changed.