Article View: comp.lang.c++
Article #900Re: does an expression in a logical statement need parenthesis for proper evaluation?
From: Ross Finlayson
Date: Wed, 18 Nov 2026 00:26
Date: Wed, 18 Nov 2026 00:26
148 lines
9043 bytes
9043 bytes
On 11/17/2026 01:53 PM, Keith Thompson wrote:
> Ross Finlayson <ross.a.finlayson@gmail.com> writes:
>> On 11/16/2026 03:17 PM, Keith Thompson wrote:
>>> Ross Finlayson <ross.a.finlayson@gmail.com> writes:
>>> [...]
>>>> That said, I'll yet aver that my command of the concepts is
>>>> very strong, and it's toward, for example, "Grice", "Grice's maxims",
>>>> of communication, or for example typical accounts of, "effective
>>>> communication", vis-a-vis ethos and pathos and kairos here the _logos_,
>>>> and not mambly-pambly sorts manager-speak, nor "control freaks",
>>>> I'll aver that the more you know the better it goes.
>>> [...]
>>>
>>> This is exactly the kind of writing style that makes it difficult,
>>> and frankly not worth the effort, to understand what you're saying.
>>>
>>> Perhaps you assume that people know about "Grice's maxims". I *think*
>>> I had heard of them. Looking them up just now, I find that they're a
>>> set of principles for clear and cooperative communication. You seem
>>> to prioritize deliberate obscurity over clarity and informativeness.
>>>
>>> Consider the fact that multiple people here have criticized your
>>> writing style, and I'm fairly sure nobody has said anything good
>>> about it.
>>>
>>> And while I can't be sure, I don't believe you've written anything
>>> interesting enough to be worth the effort of decoding it.
>>>
>>> Don't feel obligated to reply to this.
>>
>> I blame Wittgenstein, and the Whorfian. So, Wittgenstein was a
>> "philosopher", and Whorf, a "linguist". And what they say is
>> that nobody understands anybody. I disagree with this.
>> (And others do, too.)
> [82 lines deleted]
>
> Ross, do you understand that the vast majority of other readers in
> this newsgroup *don't know what you're talking about*?
>
> Perhaps you're being very clever in your writing, but the net effect
> is that you're posting large volumes of what most or all of us
> see as word salad. This isn't about philosophy or linguistics.
> It's about *you* using an impenetrable writing style and wasting
> everyone's time. That's your fault, not anyone else's.
>
> And your long discourses about linguistics are off-topic in newsgroups
> where we discuss the C and C++ programming languages.
>
> Try reading some other articles that have been posted here, and
> that have been part of meaninful discussions. Consider trying to
> emulate the style of those articles -- *if* you want to talk about
> C and C++. If you want to talk about something other than C and C++,
> please don't do it here.
>
Thanks for writing, Keith. To be sure, if there was "offense", or,
you know, "hurt", none was meant, in this case. It's not considered
an affront to be talkative on open forae, "in the spirit of the
charter", say.
Since we are neither pseudonymizing trolls nor sockpuppet-bots,
either of which lies in transgression of the charter, then in
speaking to "comp.lang.c" and "comp.lang.c++", it's well expected
that first of all most-everybody knows most-everything about these
languages, if not necessarily of similar or even equivalent experience,
then when we talk about, for example, "C11" and "C++11", then it's
beyond the surface and as well from many perspectival accounts.
It's not for example necessarily "the standards working groups",
vis-a-vis something like "comp.lang.c++.moderated", which last
it says was looking for a moderator, that we self-regular and
moderate ourselves, including with such gentle remonstrances
as you and others provide, helping express sentiment and reaction,
as part of "letters" and here "belles lettres" and so on.
So, first of all, we all know pretty much anything about C and C++,
or it's readily recounted, and to see it's "known" is as we can
read it as we see it, relate it to the standard and formal accounts,
it all makes sense, these are each languages with their syntax and
semantics about the guarantees and behavior, it's the way of the
things. Then, each has their _own_ account, sums of their influences
and state of their consciousness, the many and manifold things.
So, then to talking about C and C++, first of all is that here
it's pretty much: "C/C++". There've long been def'd or ndef'd
the _cplusplus macro and "extern "C"", it's C/C++ with regards
to both their languages, together "C/C++", then for example with
"C11" for the .h/.c files and "C++11" for the .h/.hpp/.cpp/.cxx/...
C++ files, the sources, according to the compilers, or in all
respect to "GCC", vis-a-vis "g++", "gcc", and C and C++.
We all know all this, it's no big deal.
Then there's that requirement or preference (or inheritance,
often enough) has that some code is C and some code is C++
without C (though, often enough it "is" also "legal in C"),
then various accounts of standards have some people are sticklers
(like for "C99/C++03", some with C++ 08 or 11 or 20 or 23, or what
it is) and some are slackers ("it compiles"), and others, euh,
"stagers", always with the latest bleeding-edge features of the
language since it's not relevant "stability" or that various
accounts of "simplicity" talk past each other. It varies.
Here then for example, what I'm trying to figure out is basically
how to make for C what's in C++ without being in C++ that's yet
readily adaptable for calling and being called from and into C++
from C. Like, for example, "sequence" or "iter", and "lister"
and the like, then for something like "C11 _Generic", making accounts
of generics the types in C vis-a-vis the polymorphic class model
in C++, about "sized" or accounts like "characteristics" of access
of arrays, pointer-offsets, lists, otherwise the usual things,
"holders", "getters and setters", then about "libraries" and
"components", after things like "success_t, error_t, and return_t,
for context_t", definitions of the patterns, that would be generally
suitable for writing libraries in C and having them callable and
calling to and from C++, these are the kinds of things I'm liking
to figure out.
Like for example about how to pass an allocator into C, or making
access of ctx_new/ctx_del or ctx_init/ctx_fini, those being about
storage or lifetime and ownership and responsibility, then for
things like "emit_log" and "emit_metric" and "emit_dump", these
are the kinds of things that later always live in any sort of
application framework, for making good-style.
Parentheses are generally useful in expressions since if they're
nested so deep as to become cumbersome, that's too much on one line.
People are yet expected to be familiar and immediately recognize
accounts like "star-p and post-increment", "the C idiom" (for iterators
and matching iterators), then about: getting _above_ that stuff,
yet, not too high.
Warm, i.e., warm regards.
Technical Details
Message-ID:
<jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <11cj8ch$24f93$1@dont-email.me> <11cj9he$24mi0$1@dont-email.me> <11d54u2$863c$1@dont-email.me> <11d5eg2$bfhu$1@dont-email.me> <11d6if2$lqnd$1@dont-email.me> <11d7a99$th7r$1@dont-email.me> <11d7f1t$1839o$1@dont-email.me> <11d82gp$1f70n$1@dont-email.me> <11dc7da$2nu91$1@dont-email.me> <pimdnUKCD4LIRGf3nZ2dnZfqnPWdnZ2d@giganews.com> <11depuh$3gu10$1@dont-email.me> <gLmdnYGfb6w4cmf3nZ2dnZfqn_GdnZ2d@giganews.com> <11df2i3$3k156$1@dont-email.me> <2eacnY2oHImorWb3nZ2dnZfqnPudnZ2d@giganews.com> <11dg2uf$3vgth$1@kst.eternal-september.org> <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com> <11diid8$q4aj$2@kst.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 18 Nov 2026 00:26:42 +0000 Subject: Re: does an expression in a logical statement need parenthesis for proper evaluation? Newsgroups: comp.lang.c++,comp.lang.c References: <11cj4a0$23796$1@dont-email.me> <11cj8ch$24f93$1@dont-email.me> <11cj9he$24mi0$1@dont-email.me> <11d54u2$863c$1@dont-email.me> <11d5eg2$bfhu$1@dont-email.me> <11d6if2$lqnd$1@dont-email.me> <11d7a99$th7r$1@dont-email.me> <11d7f1t$1839o$1@dont-email.me> <11d82gp$1f70n$1@dont-email.me> <11dc7da$2nu91$1@dont-email.me> <pimdnUKCD4LIRGf3nZ2dnZfqnPWdnZ2d@giganews.com> <11depuh$3gu10$1@dont-email.me> <gLmdnYGfb6w4cmf3nZ2dnZfqn_GdnZ2d@giganews.com> <11df2i3$3k156$1@dont-email.me> <2eacnY2oHImorWb3nZ2dnZfqnPudnZ2d@giganews.com> <11dg2uf$3vgth$1@kst.eternal-september.org> <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com> <11diid8$q4aj$2@kst.eternal-september.org> From: Ross Finlayson <ross.a.finlayson@gmail.com> Date: Tue, 17 Nov 2026 16:26:44 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <11diid8$q4aj$2@kst.eternal-september.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> Lines: 148 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-WqBLkJfvMjor1uOjyPxt/Jw/ZYKS/bR/G3RgoVdCZNXyHiS7gRBHv3vDNQlJTIPboRcQ8PXKYLuQAHB!xNK2BTgLZteLUeqyrLtMNqpqL6mj8my50/UHNo963lHN7exzmGicikiJA8RA1UkF+Rrhwnnnnjhm X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40