What Transforms Project-Specific Code into Sustainable Scientific Software? Principles for Developing Reusable Open-Source Research Tools
Preprint
- 8 October 2026
- preprint
- Published by MDPI AG in Preprints.org
Abstract
Computational research increasingly depends on custom software, yet much of this software begins as project-specific analysis code written to answer one immediate scientific question. Such code can be appropriate and productive in its original context, but it often becomes fragile when it is reused, shared, cited, maintained, or extended by others. In this perspective, we frame the transition from project-specific analysis code to sustainable scientific software as a deliberate development process rather than an automatic consequence of increasing code size, algorithmic sophistication, or wider use. This transition depends on development decisions that make computational work reproducible, inspectable, reusable, and creditable. We propose seven principles for sustainable research software: modular design, version control, automated testing, documentation, public availability and open licensing, persistent citation, and transparent development. These principles are most effective when considered from the beginning of a project, but they can also be introduced retrospectively as part of software maturation. We discuss how the meaning of code changes when it becomes shared scientific infrastructure, why AI-assisted and agentic coding require accountable development practices, and why research software should be understood as a core topic in research data management. Finally, we illustrate how the principles can be implemented in practice through a pseudo-code example. Sustainable scientific software is not merely cleaner code. It is research infrastructure that can be inspected, reused, tested, cited, and maintained.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- The Impact of AI on Developer Productivity: Evidence from GitHub CopilotarXiv, 2023
- Introducing the FAIR Principles for research softwareScientific Data, 2022
- Ten simple rules on writing clean and reliable open-source scientific softwarePLOS Computational Biology, 2021
- Ten simple rules for documenting scientific softwarePLOS Computational Biology, 2018
- Good enough practices in scientific computingPLOS Computational Biology, 2017
- Ten Simple Rules for Developing Usable Software in Computational BiologyPLOS Computational Biology, 2017
- The FAIR Guiding Principles for scientific data management and stewardshipScientific Data, 2016
- Best Practices for Scientific ComputingPLOS Biology, 2014
- Ten Simple Rules for Reproducible Computational ResearchPLOS Computational Biology, 2013
- Ten Simple Rules for the Open Development of Scientific SoftwarePLOS Computational Biology, 2012