News for hackers. Stuff that matters.
Re:Engineers Do Not Get to Make Startup Mistakes When They B... by mrkeen on Friday November 29, 2024 @02:38AM (#42271755)
"Two sources of truth" is an anti pattern in computing and isn't redundancy. Use replication or backups for that.

You can't imagine simpler than what you described because it's single entry.

Double-entry is twice as complicated, makes sense only to accountants and not to computing people. Your example of 1 transaction would be doubly-kept as some nonsense like

  BucketA revenue:$x CR cash:$x CR
  BucketB revenue:$x DB cash:$x DB
Re:Engineers Do Not Get to Make Startup Mistakes When They B... by jes5199 on Friday November 29, 2024 @03:21AM (#42272028)
no. single entry is when you track BucketA’s balance without regard to other buckets at all