7 ms·
Adding copyright notices to every source code file is also pointless, since copyright notices are no longer required to obtain copyright protection.
by cperciva 5y ago
Adding copyright notices to every source code file is also pointless, since copyright notices are no longer required to obtain copyright protection.
- axiosgunnar 5y agoIt might help to prove intent when somebody does violate a license (they cannot say "oh wow this was copyrighted? i totally didn't know!")
- TheDong 5y agoI don't think that follows naturally. The default if code does not have any notice anywhere is that it is copyrighted, and no license is given to anyone to use it, so any use of it is a violation. At least in the US, all creative works are copyrighted by default (such as this comment, which does not include a notice of such, but is copyrighted). Because of that, the default assumption of anyone would be that anything is copyrighted and cannot be used for any purpose outside of fair use unless there is a specific license granting additional usage.
- bdowling 5y agoA copyright notice is relevant to willful infringement, which may result in higher damages. Willful infringement requires that the infringer actually knew or should have known (or deliberately avoided finding out) that the copied material was copyrighted.
- cperciva 5y agoWhen you're talking about source code, I don't think anyone is going to get away with "I thought the author died more than 70 years ago".
- zeroimpl 5y agoWhat I look at answers on Stack Overflow, the lack of copyright notices on the code makes me feel safe to copy it. Same goes for grabbing code from random person's blog. If they had put explicit copyright notices in the code snippets, I'd assume otherwise.
- TheDong 5y agoYour assumptions are likely wrong for those cases. In the case of a random blog, the code likely does not have an associated license, meaning it is copyrighted and any derivative use of it (i.e. copying it) is a violation of their copyright. In the case of stackoverflow, their ToS require people who post code to share it under a Creative Commons license [0]. Unfortunately, if the author of the post didn't realize that, it's possible they did not have the original copyright and couldn't make that assignment, so you still may have to do your own due diligence. Where things work as intended on stackoverflow, you are required to provide attribution. Your assumptions are backwards, and it sounds like that results in you violating copyright. [0]: https://stackoverflow.com/help/licensing https://stackoverflow.com/help/licensing
- zeroimpl 5y agoI know the assumptions are wrong. But the point is the lack of explicit copyright notices on blogs or SO posts is probably enough to convince most courts that you did not willfully violate copyright. The parent I responded to implied you’d have to convince a court that you thought the copyright expired due to death. In general I suffer from NIH complex so don’t really copy code from those places ;)
- bdowling 5y ago> Where things work as intended on stackoverflow, you are required to provide attribution. Most(*) small snippets of code (e.g., 1-10 lines) on Stack Overflow are probably not copyrightable, at least not under U.S. law. You don't need a license to copy and use something that's not copyrightable. (*) But not all. As usual, it depends.
- Thiez 5y agoIf any creative work is copyrighted by default (and ignorance of the law is not an excuse) then surely all use of a creative work without a license is willful infringement?
- jacoblambda 5y agoThat's the catch though isn't it? It's only wilful infringement if there was intent. Just because you don't know the law, that doesn't make it allowed but it does make it unintentional. A license notice provides a clear explanation of the rights and responsibilities of the user. This dissuades most any notion of "lack of intent" as the restrictions are put in your face from the start.
- yuliyp 5y agoHypothetical situation: I have a bunch of code in a repository or set of repositories. I got confused and thought this file was one we created/had a license to reuse rather than a piece of third-party code, and thus copied it into a different project.
- kbutler 5y agoCopyright is limited in time (at least in theory!). U.S. government works are not eligible for copyright. Some works do not have sufficient creative element to be covered by copyright, or the other user may be using only the non-covered elements of the work (factual collections, or see recipes). But probably most important, fair use is a limitation to the exclusive rights of copyright, in spite of copyright holders' frequent assertions that "any other use without written consent is prohibited". A use may be fair even against the express wishes of a valid copyright holder, as fair use is not infringement. Factors to be evaluated in fair use include, but are limited to: (1)the purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes; (2)the nature of the copyrighted work; (3)the amount and substantiality of the portion used in relation to the copyrighted work as a whole; and (4)the effect of the use upon the potential market for or value of the copyrighted work. https://www.copyright.gov/fair-use/ https://www.copyright.gov/fair-use/ https://www.law.cornell.edu/uscode/text/17/107 https://www.law.cornell.edu/uscode/text/17/107 see 107-112 for other limitations of copyright.
- _nalply 5y agoFor my hobby projects I add a one-line comment at the bottom refering to the license and its file. // Please keep this line & LICENSE: <license> <year> <name> <email>
- smallnamespace 5y agoCopyright notices are useful the same way written contracts are: you legally do not need a notice (written contract) to establish copyright protection (enter into a contract), but if a dispute arises it helps establish the fact that the user was notified (the other party agreed to this contract). A question of 'law' vs 'facts'
- paulddraper 5y agoThose aren't at all analogous. The automatic state for content is "protected by copyright," unless a different arrangement is made. The automatic state for contract terms is "not agreed to," unless a different arrangement is made. tl;dr You need proof (written or otherwise) that a contact happened; not so with copyright protection.
- smallnamespace 5y agoOral contracts are legal and valid, yet most people write down their contracts for good, practical reasons outside of strict legality. Same goes for copyright notices. For example, the notice makes it hard for a violator to use a negligence defense, effectively increasing the penalty for violations.
- paulddraper 5y agoPeople write down contracts for proof. Without that, it's dubious if the contract even existed. But proof is not relevant for a copyright. Even without writing, the existence of the copyright is not in doubt.
- kbutler 5y agoBut the owner of the copyright is.
- Sebb767 5y agoNegligence is not applicable in this case, as, like the comment above pointed out, the default state is copyrighted. It's a bit like putting a "stealing this car is illegal"-sticker on your car - sure, you made that clear, but "I didn't know stealing this car was illegal" is not going to fly as a defense either way.
- orra 5y agoIndeed. That said, it's worth noting the files in the article predate that. The US didn't join the Berne convention until 1 March 1989.
- cperciva 5y agoRight, there was good reason for including copyright notices everywhere when people started doing it. But now it's just tradition (along with "all rights reserved" which has also lost its purpose).