When I started writing my accounting software in 2021, I took a shortcut that ha...

@cliffle@hachyderm.io

When I started writing my accounting software in 2021, I took a shortcut that has served unexpectedly well.

I wanted it to be able to read all the various CSVs and whatnot that banks and credit card companies produce, in addition to files with my own additions. The obvious choice would be "importing" these into some sort of formal database, for speed of access. But for simplicity I decided to just re-parse all of the source files -- a year or more of statements and downloads -- every time a command was run, generating an in-memory data structure. I was sure this wouldn't make it past the initial version.

But here we are in 2026, and the load-and-parse step is still under 20ms on my cheap laptop. No perceptible delay. (Having everything written in Rust helps, of course.)

Sometimes, the simple approach works out.