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

I didn't think code was copyrightable in the first place.


Any work, no matter how trivial, is eligible for copyright as long as it is an original artifact with a distinct identity.


Copyright laws vary wildly across countries and jurisdictions


...but aside from Eritrea, Ethiopia, Iran, Iraq, Marshall Islands, Nauru, Palau, Somalia, and South Sudan everyone is part of one or more (usually more) international treaties that cover copyright such as the Berne Convention or TRIPS or UCC, so you should expect in most places that most people on HN are likely to ever deal with have copyright law that isn't too different for the most common situations.


Not true,

    u64 add26562(u64 value)
    {
        return(value+26562);
    }
is not copyrightable.


If that function always returned, say, the AACS key then it would likely be violating copyright in the US. Regardless of whether it was the result of a computation or statically defined.



This might be true about trivial pieces of code, which this one is not




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

Search: