News for hackers. Stuff that matters.
Re:Plain Text Accounting, a guide to Ledger and friends by account-5 on Sunday September 05, 2021 @06:58AM (#28423265)
Honestly no. When I first read it I thought you'd spent 140 on sprouts which I thought was excessive, but each to their own.

Even though you've explained it I'm still struggling to make sense of it. The 3 indented lines don't related at all in an intuitive manner at least for me.

Re:Plain Text Accounting, a guide to Ledger and friends by chromatin on Sunday September 05, 2021 @09:51AM (#28424345)
Understandable, they are using transaction balancing / elision

What they should be showing beginners is:

    2021-03-20 Sprouts
        expenses:food:groceries  $100
        assets:cash               $40
        assets:checking         $-140
How’s that?
Re:Plain Text Accounting, a guide to Ledger and friends by cagey on Sunday September 05, 2021 @10:14AM (#28424499)
A possible source of confusion is that in this context, "Sprouts" is likely the name of a supermarket (not a type of food).
Re:Plain Text Accounting, a guide to Ledger and friends by bokstavkjeks on Sunday September 05, 2021 @10:09AM (#28424464)
I don't think the file format above is especially conductive to learning. In my experience, most people learn double-entry bookkeeping with T accounts; debit is on the left, credit is on the right, and total credit has to equal total debit.

If you're interested, this seems like a fairly decent guide: https://www.open.edu/openlearn/money-business/introduction-b...