Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vc1gll$s2sa$2@dont-email.me>
Deutsch   English   Français   Italiano  
<vc1gll$s2sa$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Top 10 most common hard skills listed on resumes...
Date: Fri, 13 Sep 2024 15:02:30 +0100
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <vc1gll$s2sa$2@dont-email.me>
References: <vab101$3er$1@reader1.panix.com> <87v7zjuyd8.fsf@bsb.me.uk>
 <20240829084851.962@kylheku.com> <87mskvuxe9.fsf@bsb.me.uk>
 <vaq9tu$1te8$1@dont-email.me> <vbci8r$1c9e8$1@paganini.bofh.team>
 <vbcs65$eabn$1@dont-email.me> <vbekut$1kd24$1@paganini.bofh.team>
 <vbepcb$q6p2$1@dont-email.me> <vbj6ii$1q6mh$1@dont-email.me>
 <20240908115827.00007521@yahoo.com> <vbju6l$1sqao$2@dont-email.me>
 <87zfoikve1.fsf@bsb.me.uk> <vbkka9$201ms$2@dont-email.me>
 <vbnv43$2igdn$1@dont-email.me> <87zfofk32t.fsf@bsb.me.uk>
 <vbptr4$31s4d$2@dont-email.me> <87bk0vjbvz.fsf@bsb.me.uk>
 <vbrp96$3gqes$2@dont-email.me> <87tteliwgh.fsf@bsb.me.uk>
 <vbuhk1$733i$1@dont-email.me> <87bk0sigf8.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 13 Sep 2024 16:02:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="6d9b666ce7e3bf261820c8472c068fb6";
	logging-data="920458"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/co+9Qppz6ytmI4In0gyBM"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:qyNVZV4sT8YLH8agxWmyaPH58M0=
Content-Language: en-GB
In-Reply-To: <87bk0sigf8.fsf@bsb.me.uk>
Bytes: 3430

On 13/09/2024 00:46, Ben Bacarisse wrote:

>>>> I merely said that LHSs of assigments fall into these categories:
>>>>
>>>>      A = Y;         // name
>>>>      *X = Y;        // pointer
>>>>      X[i] = Y;      // index
>>>>      X.m = Y;       // member select
>>> Yes, that incorrect explanation.
>>
>> I dispute that. What I said is very broadly correct. But in this newgroup
>> you do like to nitpick.
> 
> Someone who wants to write p->m = 42 would not consider it nitpicking if
> your compiler did not accept that form of LHS.
> 
> But I agree I was simply correcting a small error.  Why did you not just
> say "yes, I forgot a few cases"?
> 
>> So to you, it is of the greatest importance that somebody doesn't just know
>> about those four categories that they will be reading and writing all the
>> time in C code, but also know about:
>>
>>    (int){A} = Y;
> 
> You see why I wonder if you had a political career?  This is pure spin.
> There is no technical argument here, just an attempt to mock someone
> pointing out a truth.  I never even suggested that it was important,
> just that it was a missing case.  And, still spinning away, you ignore
> X->m which /is/ important and was also missing.

I assumed that most know that X->m is just shorthand for (*X).m, 
presumably created or adapted because the alternative (thanks to C's 
prefix dererence op) is so ungainly.

But X->m and (*X).m both do member selection; they are conceptually the 
same thing.

I kept X[i] and *X separate because they are conceptually different. (I 
expect if I'd had only *X, you would have complained that X[i] was missing.)

Note that the decription I added in the comment says only 'member 
select'. What would your descriptions have been for X.m and X->m?