Quantcast
Channel: Should I include repeated code in my thesis appendix? - Academia Stack Exchange
Viewing all articles
Browse latest Browse all 6

Answer by MisterMiyagi for Should I include repeated code in my thesis appendix?

$
0
0

Most likely you should not include any code in your appendix.

  • If code is vital to understand your thesis, it should be in the main body and discussed there. Usually those are short excerpts, not even fully functional programs.
    • If the critical part is the input (what you use variables for...) you should have a table indicating the different input variants. This likely needs no supportive code either, but prose describing the meaning/purpose of each variable.
  • If code is vital for reproducing your thesis, it should be in a code repository/archive and cited in your thesis. GitHub+Zenodo is a popular choice1 but there are other means and some universities offer similar services now.

Otherwise, generally if you have trouble presenting code that is a good indication that the code just is not written well. Instead of trying to cram it into your thesis, read up on basic code refactoring techniques to restructure your code into more readable and relevant pieces.


1 I may be biased here since it originated in my domain. Make sure to check with your supervisor and university; usually, the university library is responsible for scientific data/code archival.


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles



Latest Images