Posts tagged: Readability

testing blue

Applying the Open-Closed Principle to Research Code

Applying the Open/Closed Principle is how you stop accidentally changing yesterday's results.

Read More
reproducability green

The Single Responsibility Principle for Scientists Who Write Code

Exploring the Single Responsibility Principle in the context of scientific programming and data analysis.

Read More
head_brain yellow

Why Use Newtypes? Encoding Domain Knowledge in the Type System

How Rust's newtype pattern lets you encode domain knowledge - valid ranges, clinical thresholds, meaningful operations - directly into the type system, so the compiler enforces what you already know to be true about your data.

Read More