Compounding formulas and configuration management
A compounding worksheet is a config file with clinical stakes. The discipline of exactness transfers with surprising force.
By Nzubechukwu Cyprian · Pharmacy student at UNN, full-stack developer
In the compounding lab, we follow worksheets with the precision programmers reserve for config files — except a wrong value doesn't fail a build, it fails a patient. The discipline transfers to software configuration with surprising force.
What compounding worksheets encode
Every variable declared, nothing implicit. Active ingredient, quantity, solvent, procedure, equipment, expiration — stated explicitly. Compare to a config system where half the behaviour lives in environment differences nobody documented. The lab assumes the next person knows nothing; good config assumes the same.
The check is a separate step, by a separate person. Compounded preparations get verified against the worksheet before dispensing — verification is structurally separated from production. Software's equivalent — review, staging, canary deploys — exists for the same reason: the maker is the worst verifier of their own work.
Precision has tiers. Some measurements matter to the milligram; others are "q.s." (as much as needed). Knowing which values are load-bearing is the actual expertise. Config has the same tiers: one wrong cookie secret is fatal, one wrong analytics key is noise. Treating all config as equally critical (or equally casual) is how both labs and startups get hurt.
The habit I kept
I treat production config like a compounding worksheet: declared completely, reviewed separately, changed deliberately, with the blast radius of each variable known. The stakes in software are usually lower than a patient's life. The discipline, it turns out, costs nothing to keep at clinical standard anyway.
Keep reading
- Pharmacy × Tech
Pharmacy by school, software by conviction
I didn't choose between the lab and the keyboard. The combination isn't a compromise — it's a strategy neither discipline alone gives you.
- Pharmacy × Tech
What dispensing prescriptions taught me about input validation
A prescription is an API call with life-or-death validation requirements. Pharmacy school taught me forms before code did.
- Pharmacy × Tech
Two vocabularies: translating between clinicians and compilers
Being bilingual in health and tech means seeing the same problem described twice — and knowing both descriptions are partial.