Deutsch   English   Français   Italiano  
<vbkka9$201ms$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: Sun, 8 Sep 2024 17:44:58 +0100
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <vbkka9$201ms$2@dont-email.me>
References: <vab101$3er$1@reader1.panix.com> <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>
 <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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 08 Sep 2024 18:44:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ad79b9a69b5377684053ea6685c7dbff";
	logging-data="2098908"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+uxpxa93Mh0uYjrWqJzuwU"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:dzKn4OiWvXIkcR5h4hR5ey2OCBs=
In-Reply-To: <87zfoikve1.fsf@bsb.me.uk>
Content-Language: en-GB
Bytes: 2948

On 08/09/2024 16:39, Ben Bacarisse wrote:
> Bart <bc@freeuk.com> writes:
> 
>> In language like C, the LHS of an assignment is one of four categories:
>>
>>    A = Y;         // name
>>    *X = Y;        // pointer
>>    X[i] = Y;      // index
>>    X.m = Y;       // member select
> 
> I can think of three others.  There may be more.

OK, so what are they?

> 
>> A is a simple variable;
> 
> C does not define the term "simple variable" so presumably you define it
> to be any named object that /can/ appear on the LHS of a simple
> assignment -- a sort of "no true Scots-variable".
> 
>> X represents a term of any complexity, and Y is any
>> expression.
> 
> I can think of at least one expression form for X that contradicts this
> claim.

Example? (You seem to be turning into Tim here by hinting at things but 
withholding any further information.)




> It would be great if C had simple rules, but it doesn't.  You could have
> started by saying something about the most comment forms of assignment
> being those you list, and that X can be almost any term, but the risk of
> making absolute claims is that people (like me) will look into them.


This was a reply to someone who was questioning whether those examples 
of a complex LHS for Algol68 were valid.