A presentation on best coding/data management practices based on my own experiences of scientific computing and data analysis and heavily borrowing from the recommendations of many others. View presentation at: https://edeno.github.io/Better-Science-Code
Last updated Apr 12, 2026
37
Stars
8
Forks
3
Issues
0
Stars/day
Attention Score
18
Language breakdown
No language data available.
▸ Files
click to expand
README
Better-Science-Code
A presentation on best coding/data management practices based on my own experiences of scientific computing and data analysis and heavily borrowing from the recommendations of many others (This is not meant to be a unique work, more like an annotated compilation of advice.).Resources
Writing better code
- Solid practical advice for writing good code and managing data.
- Another good guide for writing code and managing data. More focused on R.
- A short list of tips for those that don't have much time.
Version control
Git for humans - Alice Bartlett
- Great introduction to the basics of
gitwithout getting too "into the weeds". Clearly explains the usefulness of commits and branching.
- My preferred interface for beginning users of
git. Uses a graphical interface rather than the command line.
- A longer guide using the
gitcommand line interface
- A step-by-step guide to
gitand the command line
Software Carpentry's Guide to Git
- Another command line tutorial to using
git
- More advanced
gittutorial that covers how to contribute to open source projects
How to document your code
- My recommended style for documenting scientific code for both Matlab and Python.
- A couple of helpful tips in naming file. Most are fairly obvious but easy to forget.
Open science
Toward standard practices for sharing computer code and programs in neuroscience
- Recommendations on what to share for open science.
- Critical thinking about the limits of our ability to reproduce results years later.
- Case studies of reproducible workflows used for science research
- Open-science checklist for projects
- Targeted towards neuroimaging, but gives applicable advice for all of neuroscience.
- Aa policy discussion about creating incentives for reproducible science
- The introduction makes a strong case for reproducible research. Mostly focused on Python tools.
Examples of well-written code
ELFI - Engine for Likelihood-Free Inference
Requirements
🔗 More in this category