| Deutsch English Français Italiano |
|
<20250326103705.467@kylheku.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Kaz Kylheku <643-408-1753@kylheku.com> Newsgroups: comp.lang.c Subject: Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Date: Wed, 26 Mar 2025 17:58:24 -0000 (UTC) Organization: A noiseless patient Spider Lines: 51 Message-ID: <20250326103705.467@kylheku.com> References: <vrd77d$3nvtf$2@dont-email.me> <vrdhok$47cb$2@dont-email.me> <20250319115550.0000676f@yahoo.com> <vreuj1$1asii$4@dont-email.me> <vreve4$19klp$2@dont-email.me> <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com> <vrh1br$35029$2@dont-email.me> <LRUCP.2$541.0@fx47.iad> <vrh71t$3be42$1@dont-email.me> <KFVCP.594649$SZca.498578@fx13.iad> <vrhb77$3frk8$1@dont-email.me> <vrru8f$174q6$1@dont-email.me> <86o6xpk8sn.fsf@linuxsc.com> <vrtmu4$2s1q2$1@dont-email.me> <20250325011327.41@kylheku.com> <20250325131110.000056bd@yahoo.com> <86bjtpjp22.fsf@linuxsc.com> <vruid4$3iuvq$1@dont-email.me> <87iknw7sz8.fsf@nosuchdomain.example.com> <vs0e6r$1avlb$2@dont-email.me> <87sen05cza.fsf@nosuchdomain.example.com> <vs0olv$1lodm$1@dont-email.me> Injection-Date: Wed, 26 Mar 2025 18:58:27 +0100 (CET) Injection-Info: dont-email.me; posting-host="59e26a12df5d8320043f4e2c1712d31f"; logging-data="2375444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fTe1PICLiJ9diAL7PZf5/mhgIXIFOBSA=" User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:U0vfsJ8FB+Ef5iGvy1tWuLKAVGA= Bytes: 4133 On 2025-03-26, David Brown <david.brown@hesbynett.no> wrote: > On 26/03/2025 10:59, Keith Thompson wrote: >> David Brown <david.brown@hesbynett.no> writes: >> [...] >>> Sure. But most people have forgotten such details long ago - negative >>> numbers are not part of daily life (except as an indicator of how much >>> you owe the bank...). After all, negative numbers are not natural! >> >> Most people understand credits and debits. > > They do. But they understand it as "I owe the bank $100" - they don't > view it as "I have -$100 in my bank account". Even when looking at They do if you have an overdraft. If you have a formal loan, then there will be some positively running account representing it. (At least in the English-speaking word, where we have debits and credits which reverse polarity between asset versus liability type accounts.) It would definitely make sense for a loan account to have a negative balance which increases toward zero as it is paid off. Then the value of your account portfolio in that bank could be calculated simply by adding your accounts together. Moreover, when you move money from some chequing account to the mortgage account, it would be a transaction which contains values that add to zero: Chequing account -300; loan account +300. Otherwise it has to be: Checquing account: debit 300; loan account credit 300. Which means that a "credit" is subtractive to a loan account rather than additive. Under this system, you never see a negative unless some account is overdrawn. I have an accounting system for self-employment activities which works this way rather than the debit-credit system. The debit credit system is confusing. For mortgaging, I deal with a bank which gets something wrong on statements: Would you believe it, they add together the value of the checking account, and the mortgqge account, both being positive. Then they call that the value of your account! E.g. if you have a $5,000 balance in the checquing account, and $50,000 in the mortgage account, they call that a value of $55,000. I wrote them an e-mail and they acknowledged this, but nothing was done; typical bureaucracy. They would not have made that mistake with -55,000 and 5,000. -- TXR Programming Language: http://nongnu.org/txr Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal Mastodon: @Kazinator@mstdn.ca