Linked Questions

16 votes
2 answers
898 views

Does a link to Stack Overflow in an open source library mean that that library must be copyleft?

In an opened issue against a BSD open-source library, an OP states that the mere presence of a single URL to a Stack Overflow article in a code comment section makes the entire source code copyleft, ...
  • 13.1k
-14 votes
2 answers
188 views

Should Stack Overflow implement automated link attribution on copy/paste?

A recent blog post celebrated the fact that 40.6 million copies of 7.3 million posts were performed by users over a two week period. The author is on the marketing team and from a marketing ...
2 votes
0 answers
95 views

Do I need to license my code under GPL if I use code from Stack Overflow? [duplicate]

From the licensing page: Content contributed on or after 2018-05-02 (UTC) is distributed under the terms of CC BY-SA 4.0. When I looked on the Creative-Commons page describing the license, I found ...
  • 11.6k
5 votes
1 answer
1k views

Copyright issue with Stack Overflow?

I'm confused about a copyright issue on Stack Overflow. Can anyone please tell me clearly about copyright on Stack Overflow? Meaning, if I just copied 10 – 15 lines of code, will it create trouble for ...
user avatar
46 votes
0 answers
2k views

How to handle code clones on Stack Overflow?

As part of our research, we've reconstructed and analyzed the evolution of Stack Overflow posts. In the course of that research, I extracted clones of code blocks from the official Stack Exchange data ...
  • 489
12 votes
1 answer
783 views

Does licensing permit using code found in answers on SO at work? [duplicate]

I understand source code contained in answers on Stack Overflow are licensed under cc by-sa 3.0. If I'm getting paid to develop an application that is probably going to be closed source, does this ...
31 votes
3 answers
10k views

The license of code on Stack Overflow

I want to know the code license on Stack Overflow. Sometimes I copy the original code pieces, or make some changes; sometimes I used the idea and code by myself. I really want to know the license or ...
5 votes
1 answer
778 views

Does Stackoverflow's code licensing override my previously specified license? [duplicate]

I heard recently that Stackoverflow has changed their license on code. I don't know the details. Myself, along with a handful of other users, have explicitly licensed code posted to Stackoverflow ...
8 votes
1 answer
785 views

Best practice for using code snippets from Stack Overflow

Is there a best practice for reusing code snippets from Stack Overflow in production code? Personally I always do something like this: // Handling input that is not parseable as an integer. // ...
  • 16.6k
-9 votes
3 answers
156 views

Change to editing procedure

Let me start by saying I love this site, and it has been extremely useful to me. There are many very knowledgeable people who are willing to help out and give good answers to questions, and this has ...
  • 1,373
2 votes
0 answers
174 views

Clarification on Stack Overflow code license [duplicate]

I have seen tons of posts on the license on the code used here on stackoverflow.com. A simple search brings tons of results but I still don't fully understand the license the code on this site is ...
6 votes
2 answers
590 views

Can we get an official stance on link-only answers in the LQP review queue?

This isn't really a complaint about this specific audit (although failing it did give me a review ban despite the fact that I've only failed two in almost three months). I thought that we had an ...
  • 12.3k
138 votes
7 answers
10k views

If I use Stack Overflow code on my website, how should I give attribution?

As a web developer over the years, I've done work in HTML, CSS, jQuery, PHP, and MySQL. And there have been numerous times I have found code snippets on Stack Overflow to be useful. I've probably copy/...
  • 2,239