-9

What happens if I don't give attribution when I was using a code snippet in my software?

7

1 Answer 1

6

While its unlikely that the skies will part, and Jeff Atwood will descend from the heavens and smite you with a flaming yoyo - in some cases there may be consequences.

Copyleft protections - such as the CC licence in SE rely on copyright protections, and by ignoring the licence, you're infringing on the licence of the code snippets.

I suspect this may also have some bearing on your copyright on the code - since the code already potentially infringes on the rights of others.

The exact consequences of this may vary. Adding an attribution also means that in future - you can also look up the snippet and get more context if you don't remember where the code was from.

4
  • 1
    The lawyers of some companies can be very hot on compliance with licenses and attribution in software developed by the company (IBM certainly was when I worked for them).
    – greg-449
    Apr 13, 2020 at 15:14
  • 1
    Rumor has it that Jeff holds a giant S, at least I think it's singular; he may have a few.
    – Rob
    Apr 13, 2020 at 15:59
  • my reason to ask this i had a snippet in my program but i can't find in internet again. Can i add this text to credits.txt? : Some snippets authors are unknown when they found they will added in credits.txt Apr 14, 2020 at 7:38
  • But then you wouldn't know where it was. Adding a link inline in a comment means at the very least, you know that snippet had to do with that page, and you can get it from a cached copy or even a datadump. Apr 14, 2020 at 7:42

Not the answer you're looking for? Browse other questions tagged .