4 ms·
Relevant portion below, taken from this page (https://dev.to/sadeedpv/someone-copied-my-code-on-github-and-claimed-to-be-his-own-project-4dho https://dev.to/sad
by sydbarrett74 3y ago
Relevant portion below, taken from this page (https://dev.to/sadeedpv/someone-copied-my-code-on-github-and-claimed-to-be-his-own-project-4dho https://dev.to/sadeedpv/someone-copied-my-code-on-github-and...):
'With the MIT license, you should really also put your copyright and license notices at the top of each source file in a comment in addition to the license file in the repo. This way if someone uses one or more files but not entire repo, your copyright notice and license declaration stays with your code, unless they deliberately remove it. With only a license file you risk someone who only needs one of your source files separating those notices from your code accidentally with no ill-intention toward you or your work.'
- eviks 3y agoNo way, especially with bigger licenses that are hard-breaked, it's such a wasteful tax on readers' attention to have the first page of every file be some legal garbage And the risk of copy&pasting just the code someone needs (it's not always/mostly at a file level) doesn't disappear
- sydbarrett74 3y agoThat 'legal garbage' is what reduces ambiguity. As far as a tax on the reader, the reader is free to scan past the copyright section. Your argument is vacuous.