Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #157005

Re: Question About &&

From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c
Subject Re: Question About &&
Date 2020-12-06 16:41 -0800
Organization A noiseless patient Spider
Message-ID <86czzmjvm8.fsf@linuxsc.com> (permalink)
References (2 earlier) <rpskqg$3d2g5$1@news.xmission.com> <rpt08s$jdg$1@gioia.aioe.org> <rpu0mp$uat$1@dont-email.me> <86mtyum1uz.fsf@linuxsc.com> <f8c64ae2-0fbe-4c69-98cf-5182cf343b22n@googlegroups.com>

Show all headers | View raw


"james...@alumni.caltech.edu" <jameskuyper@alumni.caltech.edu> writes:

> On Friday, December 4, 2020 at 3:07:02 AM UTC-5, Tim Rentsch wrote:
>
>> James Kuyper <james...@alumni.caltech.edu> writes:
>>
>>> On 11/28/20 3:03 AM, Chris M. Thomasson wrote:
>>>
>>>> On 11/27/2020 8:48 PM, Kenny McCormack wrote:
>>>>
>>>>> In article <rpsgom$1mrs$3...@gioia.aioe.org>,
>>>>> Chris M. Thomasson <chris.m.t...@gmail.com> wrote:
>>>>> ...
>>>>>
>>>>>> a && b = x
>>>>>
>>>>> This is a syntax error;  this can be corrected by changing it to:
>>>>
>>>> It was meant to be a pseudo-code.  Sorry for not explicitly pointing that
>>>> out.
>>>
>>> Writing something like that as psuedo-code is very weird.  [...]
>>
>> It doesn't strike me as especially weird.  Nor all that
>> hard to understand either.
>
> I agree that it's not hard to understand - as syntactically invalid C
> code.  [...]

It being not syntactically valid C helps make it easier to
understand than if that were not the case.  So I consider that
aspect a plus, in that one respect.

> One thing I literally cannot do is understand it as x = a && b.
> [...]

I didn't take it that way.  After seeing that it didn't make
sense as C, I took it to be a kind of mathematical equation.  Of
course, I know the original poster Chris Thomasson to be someone
who isn't always careful with language, so the funny way of
expressing it didn't bother me, and when he later referred to it
as pseudo-code that didn't bother me either.  Barely noticed it,
in fact.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Question About && "das...@gmail.com" <dashley@gmail.com> - 2020-11-27 16:23 -0800
  Re: Question About && Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-11-28 02:23 +0000
  Re: Question About && Richard Damon <Richard@Damon-Family.org> - 2020-11-27 21:24 -0500
  Re: Question About && "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-11-27 19:39 -0800
    Re: Question About && gazelle@shell.xmission.com (Kenny McCormack) - 2020-11-28 04:48 +0000
      Re: Question About && "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-11-28 00:03 -0800
        Re: Question About && James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-11-28 12:17 -0500
          Re: Question About && "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-11-28 16:10 -0800
          Re: Question About && Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-12-04 00:06 -0800
            Re: Question About && "james...@alumni.caltech.edu" <jameskuyper@alumni.caltech.edu> - 2020-12-04 06:39 -0800
              Re: Question About && Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-12-06 16:41 -0800
                Re: Question About && "james...@alumni.caltech.edu" <jameskuyper@alumni.caltech.edu> - 2020-12-07 07:20 -0800
      Re: Question About && "das...@gmail.com" <dashley@gmail.com> - 2020-11-28 14:37 -0800
        Re: Question About && Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-11-28 14:51 -0800
        Re: Question About && "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-11-28 16:53 -0800
    Re: Question About && James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-11-28 12:25 -0500
      Re: Question About && "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-11-28 16:13 -0800

csiph-web