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.

Plos Computational Biology
|November 11, 2021
PubMed
Summary

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.

Related Concept Videos

Guidelines for Writing Outcome01:11

Guidelines for Writing Outcome

When developing expected outcomes for a patient care plan, the nurse should adhere to the following recommendations:
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...
3.3K
Guidelines and Strategies for Safe Computer Charting01:18

Guidelines and Strategies for Safe Computer Charting

The guidelines and strategies provided by the American Nurses Association (ANA) and the Canadian Nurses Association (CNA) offer essential principles for ensuring safe and secure computer charting systems in healthcare settings. Let's break down each recommendation:
Maintain Confidentiality and Security:
1.0K
Introduction to R01:11

Introduction to R

R is a powerful software environment for statistical computing and graphics. Originating as an implementation of the S language, developed at Bell Laboratories, R has evolved into a robust, open-source statistical software favored by statisticians and data scientists worldwide. Its comprehensive suite includes data manipulation, calculation, and graphical display capabilities, making it versatile for data analysis and visualization. Its programming language is at the core of R's...
2.6K
Legal Guidelines for Documentation01:06

Legal Guidelines for Documentation

The legal guidelines for nursing documentation are essential for ensuring accurate, professional, and ethical recording of patient care. The guidelines are discussed here:
1.6K
Pascal's Law01:04

Pascal's Law

In 1653, the French philosopher and scientist Blaise Pascal published "Treatise on the Equilibrium of Liquids," which discussed the principles of static fluids. A static fluid is a fluid that is not in motion. When a fluid is not flowing, we say that the fluid is in static equilibrium. If the fluid is water, we say it is in hydrostatic equilibrium. For a fluid in static equilibrium, the net force on any part of the fluid must be zero; otherwise, the fluid will start to flow. Pascal...
9.6K
Significant Figures in Calculations00:58

Significant Figures in Calculations

Uncertainty in measurements can be avoided by reporting the results of a calculation with the correct number of significant figures. This can be determined by the following rules for rounding numbers:
14.9K