1

I have a question worries me a lot, I have read on "https://stackoverflow.com" that members' posts are subject to the "Creative Commons" license.

The question is:When I benefit from the answer of any members, Do I have to mention the name of the answer holder within my program?

For example:If I found one of the answers on this site was how to use the "loop" in Java, Then I used that code in my program, Do I have to referring to the answer holder within my program? and is the length of my life whenever I use the loop of repetition in my programs must i mention the name of the answer holder?

The other question is, If I change a little bit in the code I got from the answers, should I mention the owner of the answer as well? Also the question includes books and authors, should I mention the owner of the Book as well? My questions may be strange, but it really does concern me.

1
  • I think this is a meta question.
    – Buffy
    Nov 20 '19 at 12:56
0

Basically, it depends on "the usual suspects." The less widely known the more you need a cite. The more substantial or original the thing, the more you need a cite.

Anything you could easily get from a simple Google search and that appears on multiple web sites and in multiple introductory textbooks, is probably fair use. "How to use a loop" in a computer language is clearly not something you need to provide a cite for.

If you wind up using a lot of small things from a single source, that also merits at least a "thanks." For example, if you used a lot of things out of a standard "classical" text book on the subject, that might be a good thing to mention. That will reduce questions like "why does all your code look like Knuth's code in his text?"

Things that you need to dig harder for may be more of a grey area. An implementation of a standard search algorithm, for example, might need citation. So if you pulled something from the book series Numerical Recipes you might need to at least put a note in saying where you lifted the source code. It's like quoting a chunk of text from a source in that case.

Less widely known or less standard algorithms might need citation. That may be subject dependent or journal dependent. So if you are publishing something in a journal related to uncertainty analysis, maybe you don't need to explain what a Kalman filter is. It may be standard knowledge for such an audience. If you were publishing in a journal related to AI, maybe they will be less familiar with it and need a cite to a basic explanation. Especially if you are providing an implementation, especially if you borrowed the source code for that implementation.

If you used some research article's result then certainly you need to cite it. For example, if somebody has invented a new way to accomplish some task, and it has some new feature such as being faster or more secure or something, you definitely need to cite it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.