Deutsch English Français Italiano |
<87h6b39imm.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson <Keith.S.Thompson+u@gmail.com> Newsgroups: comp.lang.c Subject: Re: Top 10 most common hard skills listed on resumes... Date: Thu, 29 Aug 2024 13:30:41 -0700 Organization: None to speak of Lines: 31 Message-ID: <87h6b39imm.fsf@nosuchdomain.example.com> References: <vab101$3er$1@reader1.panix.com> <92ab79736a70ea1563691d22a9b396a20629d8cf@i2pn2.org> <vafim7$1ubg8$1@dont-email.me> <vah4hr$2b9i8$5@dont-email.me> <vahngt$2dtm9$1@dont-email.me> <87r0abzcsj.fsf@bsb.me.uk> <vai1ec$2fns2$1@dont-email.me> <874j75zftu.fsf@bsb.me.uk> <valrj7$367a8$2@dont-email.me> <87mskwy9t1.fsf@bsb.me.uk> <vanq4h$3iieb$1@dont-email.me> <875xrkxlgo.fsf@bsb.me.uk> <vapitn$3u1ub$1@dont-email.me> <87o75bwlp8.fsf@bsb.me.uk> <vaps06$3vg8l$1@dont-email.me> <871q27weeh.fsf@bsb.me.uk> <20240829083200.195@kylheku.com> <87v7zjuyd8.fsf@bsb.me.uk> <20240829084851.962@kylheku.com> <87mskvuxe9.fsf@bsb.me.uk> <vaq9tu$1te8$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Thu, 29 Aug 2024 22:30:42 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d17aacdbc8a710bbcdf54ea5a7e9baf3"; logging-data="135813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VXPPXSsTq1E6po3y+q/nO" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:BjJFrRX3D5VOKnpDszCyCQCz00Q= sha1:DcYyPHkyoVRFL7wFqwEZ4NSuINw= Bytes: 2899 Bart <bc@freeuk.com> writes: [...] > So what exactly is different about the LHS and RHS here: > > A = A; The RHS is evaluated to determine the current value stored in the object named A. The LHS is evaluated to determine the object that's designated by the name A; its current value is irrelevant. In C terms, the RHS undergoes *lvalue conversion*, where an expression that's an lvalue is converted to the value stored in the designated object. The LHS does not undergo lvalue conversion. > (In BLISS, doing the same thing requires 'A = .A' AIUI; while 'A = A' > is also valid, there is a hidden mismatch in indirection levels > between left and right. It is asymmetric while in C it is symmetric, > although seem to disagree on that latter point.) Because BLISS, unlike C, does not have implicit lvalue conversion; the prefix "." operator performs explicit lvalue conversion. I presume the "." operator isn't specific to assignments. In C, the LHS and RHS are evaluated differently. In BLISS, they're evaluated in the same way, requiring an explicit operator to do what done implicitly by context in C. I'd call the former asymmetric and the latter symmetric. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */