This confirms what I’ve heard repeated before: it’s easier to teach programming to an accountant than accounting to a programmer.
Physics may have gotten the direction of current flow wrong, but at least they were _consistent_ and didn't start talking about "source voltage" and "load voltage" which would have muddled KVL into `sum{delta_sources} = sum{delta_loads}` compared to `sum{delta_voltage} = 0`.
The real issue is that besides the famous Kleppmann article, it's hard to find material on accounting that sheds this legacy baggage.
On software that was written by accountants: look no further than DATEV. It’s an abomination I would not inflict on my worst enemy.