Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. John Woods
A few tips for writing code, especially that kind doing computationally costly simulations.
<note tip>None of these points is obligatory, neither is the list comprehensive. But bear in mind that its the result of personal (practical) experience (of several people) over quite some time.</note>
If you plan to add your code or at least parts of it to a thesis:
https://www.epr-21.de/ • https://www.trepr.de/ • https://www.cwepr.de/ • https://www.uvvispy.de/
https://www.eprfit.de/ • https://www.spinpy.de/ • https://www.fitpy.de/
https://www.orgphot.de/ • https://www.cryptochrom.de/