Related Experiment Video
Updated: Oct 13, 2025

Measuring the Shape and Size of Activated Sludge Particles Immobilized in Agar with an Open Source Software Pipeline
Published on: January 30, 2019
Ten simple rules on writing clean and reliable open-source scientific software.
Haley Hunter-Zinck1,2,3,4, Alexandre Fioravante de Siqueira1, Váleri N Vásquez1,5
1Berkeley Institute for Data Science, University of California, Berkeley, Berkeley, California, United States of America.
This study introduces 10 rules for clean code and testing to improve open-source scientific software. These practices enhance code readability, maintainability, and reproducibility for researchers.
Area of Science:
- Computer Science
- Scientific Computing
- Software Engineering
Background:
- Open-source software is critical for scientific research.
- There's a lack of formal training in software development and maintainability for scientists.
- This variability impacts the quality and reliability of scientific software.
Discussion:
- Proposes 10 rules focusing on clean code and testing practices.
- Clean code enhances readability, reduces cognitive load, and standardizes software organization.
- Testing, including unit tests, verifies code functionality, identifies errors, and aids in debugging complex codebases.
Key Insights:
- Clean code practices make software more amenable to effective testing.
- Unit tests ensure modularity, isolate behavior, and provide usage examples.
- Implementing these practices improves software correctness, quality, usability, and maintainability.
- Foundational tools like clean code and testing are essential for reproducible scientific results.
Outlook:
- Suggests practical tips for adopting clean code and testing.
- Recommends specific tools for Python, R, and Julia.
- Aims to improve the overall quality and reliability of open-source scientific software.
More Related Videos
Related Concept Videos
Guidelines for Writing Outcome
Patient outcomes reflect the patient's response to the goal rather than what the nurse aims to achieve. Terminology should be observable and measurable to avoid the reader's interpretation. The desired outcome should be realistic and achievable in the designated care timeframe. Expected outcomes should align with adjunctive therapies. The outcome should enhance care...
Guidelines and Strategies for Safe Computer Charting
Maintain Confidentiality and Security:
Introduction to R
Legal Guidelines for Documentation
Pascal's Law
Significant Figures in Calculations

