Using positive/negative numbers in place of debits and credits can yield the right numbers, but traditional double-entry bookkeeping doesn't work that way. Doing it differently than the traditional method obscures some nuance.
There's a concept of "contra-" accounts that have their entries expressed in negative numbers. A quick example: You sell bonds to capitalize your business, resulting in a debit to cash (money you have) and a credit to a liability (money you owe somebody else). You sell some of the bonds at a discount. Traditionally that would be tracked as a debit to cash, a credit to the liability, and a negative credit to a contra-liability account to track the discount. The transaction balances to zero but the discount is exposed for managerial purposes instead of just disappearing into the transaction.
I find it helpful to remember that a function of the design of the chart of accounts is to summarize transactions at level that removes detail to a level that expresses the bare minimum for managerial and tax purposes. You could manage the business at a level of individual transactions but it would be unwieldy. Likewise, you could collapse the chart of accounts into five high-level asset, liability, credit, revenue, and expense accounts. Neither gives you the detail necessary to produce actionable financial statements for any purpose.
I suppose it's somewhat analagous to database schema design.
My usual rant when bookkeeping comes up:
A basic knowledge of bookkeeping and accounting terminology can confer near "super powers" when it comes to dealing with finance people. It's easy to learn and worth the time.
Double-entry bookkeeping is one of the oldest and longest-practiced "IT" disciplines. All our work in IT likely touches revenue / expenses for our employers. Someday many of us need to interface with accounting or finance people. Being able to speak the language, even poorly, has helped me gain trust and credibility that I don't believe speaking only in IT terms would have.
Edit: Got off mobile.
Thanks; I'll do some reading when I'm also back on a real computer.
Also edit: that's a super helpful example, and if I could upvote you more than once, I would. Thank you! My business will never be complicated enough that I'm selling bonds, but I can appreciate the argument.
Some of the past discussions of this can be found starting at https://plaintextaccounting.org/FAQ#where-are-debits-and-cre...
In most (not all) current PTA systems, "Dr" (debit) is written as "" or "+", "Cr" (credit) is written as "-". In this case it's true that that a contra-debit or contra-credit is not a first class concept (because "Dr 1" and "Cr -1" are both written as "1"). Though, hledger can detect it from context, because it knows what is the normal sign for each account type.
As I understand it, contra-debit/credit wasn't a concept in traditional double entry bookkeeping either, or at least, it wasn't written with minus signs ?
In all this time we hadn't seen a good concrete example yet. This might be a good one - I can't follow it right now, but bookmarked it for study - thank you.
PTA is not religious about this sign thing, but we can at least say in practice it does seem to work extremely well for many people with a wide range of accounting needs.