As you may have expected I do disagree. From "hledger stats" command, 
applied on my "Assets" accounts only, I have 46 Assets accounts and 48 
currencies/commodities. And apart from that, I have 378 balance assertions. 
That would be a big effort to gather all previous account statements, and 
to align all of this. 

Nevertheless, I support the alignment objective between ledger-likes.

On Monday, June 23, 2014 7:09:54 PM UTC+2, Simon Michael (sm) wrote:
>
> Thanks Martin. I agree that the repetition above is more effort, but I 
> tend to think it's worth the trouble - explicitness and correctness are 
> why assertions exist after all. 


Yes this is trouble, but I do not get the sentence "worth the trouble".
The current syntax of c++ ledger does offer correctness and explicitness. 
Again I mean balance assertions are checking the amount. Checking the 
exhaustiveness of currencies/commodities that are used is another thing, 
semantically speaking.
 

> And I feel multi-commodity accounts are 
> rare and needing to write many assertions on them will be rarer
>

In a USD centric world, I believe you that mono-currency is the average.
In rest of the world, I believe that avoiding multiple currencies is more 
effort. And this is the standard for people living near a border.

And different from currency, as soon as you are trading, then multiple 
*commodity* is standard. BTW, it is not difficult to start trading, if your 
company is traded on any stock exchange, you can not avoid that your 
company is distributing shares.

> 2014-06-20 balance*  Assets:Some:Account    10 GOOG, 640.40 USD

About that syntax:
- I have at least 2 accounts, where I do have more than 6 commodities. With 
names of commodities that are 20 characters long. This would make things 
tedious...
- Also, do not forget that some of us are using comma as decimal separator 
That syntax above may not be the best one.

Thierry

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to