News for hackers. Stuff that matters.
Re:Accounting for Computer Scientists (2011) by adamcharnock on Friday January 02, 2026 @07:11PM (#46471157)
I wrote this a long time ago. It does tend to upset some people, but it did work as an accurate and testable mental model:

https://django-hordak.readthedocs.io/en/latest/accounting-fo...

Re:Accounting for Computer Scientists (2011) by phil-martin on Friday January 02, 2026 @09:46PM (#46472281)
Thank you for writing and sharing that. It's one of the simplest and sane explanations I've seen. How did discussions go with accountants separating the debits/credits into being a presentation issue?
Re:Accounting for Computer Scientists (2011) by adamcharnock on Saturday January 03, 2026 @05:06PM (#46482194)
Well, they didn’t like it! :) I considered just providing views onto the tables that would present the data in the way that made the accountants happy. But in the end we just ended up changing to using separate debit/credit columns. They managed to talk me around somehow, but I don’t remember the details any more. I think this was the relevant issue:

https://github.com/adamcharnock/django-hordak/issues/59

Re:Accounting for Computer Scientists (2011) by analog31 on Friday January 02, 2026 @11:50PM (#46472912)
I like that. The fourth rule, "flipped on display" makes it conceptually a lot easier than the lengthy table of sign rules for different accounts that my boss kept on his wall.

A way I learned about it was that you want to be able to know the tangible cash value of your business at any given moment.