Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+13 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 (1 point)

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 (1 point)
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 point)
+1

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

...