Double-entry bookkeeping as a directed graph
matheusportela.com
Double-entry bookkeeping as a directed graph
1–10 of 388 posts
Re: Double-entry bookkeeping as a directed graph
#2I'm not an accountant but decided to study double-entry bookkeeping and basic accounting a while ago. I learned a lot from many places, including great threads here on HN, and wanted to give back to the community. In this article, I explain the mechanics of double-entry bookkeeping and how I came to realize it's a directed graph.
I know there are many accounting nerds on HN so please feel free to criticize or suggest changes where I got things wrong!
Re: Double-entry bookkeeping as a directed graph
#3Hi, all! I'm not an accountant but decided to study double-entry bookkeeping and basic accounting a while ago. I learned a lot from many places, including great threads here on HN, and wanted to give back to the community. In this article, I explain the mechanics of double-entry bookkeeping and how I came to realize it's a directed graph. I know there are many accounting nerds on HN so please feel free to criticize o…
One of the funnest things in computer science is realizing how some problem that you may not suspect initially turns out to be some type of graph.
Re: Double-entry bookkeeping as a directed graph
#4Re: Double-entry bookkeeping as a directed graph
#5Hi, all! I'm not an accountant but decided to study double-entry bookkeeping and basic accounting a while ago. I learned a lot from many places, including great threads here on HN, and wanted to give back to the community. In this article, I explain the mechanics of double-entry bookkeeping and how I came to realize it's a directed graph. I know there are many accounting nerds on HN so please feel free to criticize o…
Re: Double-entry bookkeeping as a directed graph
#6Hi, all! I'm not an accountant but decided to study double-entry bookkeeping and basic accounting a while ago. I learned a lot from many places, including great threads here on HN, and wanted to give back to the community. In this article, I explain the mechanics of double-entry bookkeeping and how I came to realize it's a directed graph. I know there are many accounting nerds on HN so please feel free to criticize o…
[1] https://martin.kleppmann.com/2011/03/07/accounting-for-compu...
Re: Double-entry bookkeeping as a directed graph
#7Just a tiny number of formulas (accounting identities [1]) and statements (P&L, balance sheet, etc.) can represent what's going on in any org in ways that can be roughly comparable. Reminds me of the "fundamental theorem of calculus" or "central dogma of biology".
Accounting is also where we get math and written language [2] as ancient Mesopotamian civilizations initially kept track of commodities using specific "accounting tokens" [3] shaped like the thing represented, and that evolved into written language, imagine: hieroglyphics.
Later, Al-Jajr [4] (aka algebra, literally "balancing") was invented by Al-Khwarizmi (origin of "algorithm") to solve Islamic inheritance law, whose rules of splitting up became a series of equations that led to the need to solve them quickly and correctly. Al-Khwarizmi's quadratic formula was the origin of why "algorithm" gets its name from him.
[1] https://en.wikipedia.org/wiki/Accounting_identity
[2] https://en.wikipedia.org/wiki/History_of_accounting
[3] https://en.wikipedia.org/wiki/History_of_ancient_numeral_sys...
Re: Double-entry bookkeeping as a directed graph
#8Hi, all! I'm not an accountant but decided to study double-entry bookkeeping and basic accounting a while ago. I learned a lot from many places, including great threads here on HN, and wanted to give back to the community. In this article, I explain the mechanics of double-entry bookkeeping and how I came to realize it's a directed graph. I know there are many accounting nerds on HN so please feel free to criticize o…
Re: Double-entry bookkeeping as a directed graph
#9Instead, the "double entry" that complements the money leaving Alice's cash ledger is the entry of the value of the book into Alice's "book ledger", one decreases by $20, and the other increases by the same amount.
Re: Double-entry bookkeeping as a directed graph
#10My understanding of double-entry bookkeeping is that it does not care who Alice bought the book from, nor what their accounts look like. Instead, the "double entry" that complements the money leaving Alice's cash ledger is the entry of the value of the book into Alice's "book ledger", one decreases by $20, and the other increases by the same amount.