5 ms·
An even more problematic example: https://docs.oracle.com/javase/6/docs/api/java/lang/String.html#concat(java.lang.String) https://docs.oracle.com/javase/6/doc
by trashface 7y ago
An even more problematic example:
https://docs.oracle.com/javase/6/docs/api/java/lang/String.html#concat(java.lang.String) https://docs.oracle.com/javase/6/docs/api/java/lang/String.h...
So...I guess this api signature for string concatenation is on the verge of being owned by oracle forever. Perhaps I can create a non-derived work by adding a few extra arguments.
- jmpeax 7y agoI'd bet that isolated examples couldn't be copyrighted any more than a single sentence in a novel couldn't be copyrighted. Doesn't it have to do with the whole work?
- shakna 7y agoThe case is about APIs, not the whole work. By their very nature, all APIs are both: 1. Single sentence. 2. Usually obvious. In fact, just about every API definition in the above linked String method list is blatantly obvious, and many of the APIs look similar to ones in various other completely incompatible languages. So even if you argue the copyrighted work is comprised of the whole set of APIs, it may be patent-able as an invention, but it does not seem reasonable to suggest it be protected by copyright.
- edoceo 7y agoUse vararg for parameters to pass to iconv
- nickthemagicman 7y agoJust rename it : Konkat. Easy /s
- pacala 7y agoHopefully only the specific Java incantation. Other languages have different syntax, so arguably they are not Java. Java: public String concat(String str) Javascript: String.prototype.concat ( [ string1 [ , string2 [ , … ] ] ] ) Python: def __add__(self, *args, **kwargs) C++: function <string> std::operator+ (string)