Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+12 votes

What is the best standard for citing someone else's code? For example, if I referenced stackoverflow for insight or help, should I just comment the url?

asked in DATA360_Spring2019 by (2.7k points)

2 Answers

+6 votes
 
Best answer

For something like the individual project, citing the url and maybe briefly mentioning in the comment how the url helped you should be enough. If you were going to publish it or something to that extent, you would probably need to do more.

answered by (2.8k points)
selected by
+3

Okay, thank you!

+2

Yes, sounds good to me.

+2 votes

With our SI and projects in the past, it has always been sufficient to just leave a comment with a link to the code and maybe the author's username. It's never a bad idea to explain how it works, or as much as you understand, in the same comment!

answered by (1.3k points)
+1

I just always leave a link for future ref and cite.

...