Double-Entry Ledgers: The Missing Primitive in Modern Software

I think ledgers are underutilized in software development today. Specifically, double-entry ledger modeling would be a better fit in a lot of systems than the ad-hoc ledger-ish things they currently have.