Re:How to correctly use code you didnt write
by Someone on Sunday March 11, 2012 @08:20PM
(#3691785)
It does not require outright malice to have a company think code they have in their repository is theirs, and you having the same code must be stolen; it can just be a matter of sloppy attribution plus some 'to protect our interests, we have to do what everyone else does'. Adding licensing info to every file makes it less likely that that sloppy attribution will take place.
If they're so unethical to try and sue you for using code they just found on the internets without a licence, they're just as likely to steal your code even if it had an MIT licence and claim you were the original thief.