Posts tagged: Readability
Applying the Open-Closed Principle to Research Code
Applying the Open/Closed Principle is how you stop accidentally changing yesterday's results.
The Single Responsibility Principle for Scientists Who Write Code
Exploring the Single Responsibility Principle in the context of scientific programming and data analysis.
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.