Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using bits of sample code/other peoples code on dissertation [closed]

Tags:

licensing

I am writing a dissertation for university final year. I want to put a large amount of source code on a DVD for the appendix. 95% of code is written by me, but some code is copy and pasted from samples and taken from forums.

Do I have to label each bit of code that is not mine or something? What would I write if I don't know who's code it is anymore?

like image 357
Roger Avatar asked Jun 03 '26 13:06

Roger


1 Answers

You should definitely cite your source if the source specified you do so. However, if you are taking samples and adapting them to your environment you usually don't have to cite it (as long as it has changed in a significant way).

Usually, I try to include a comment in my code if I just copy and paste something, even if it is free and open to copy. However, this is more of a preference than a specification.

In the end, it is up to the people you got the code from (if they specified a license for the code) and your advisor at the university.

like image 51
IAmTimCorey Avatar answered Jun 07 '26 23:06

IAmTimCorey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!