Article View: comp.lang.c++
Article #908Re: does an expression in a logical statement need parenthesis for proper evaluation?
From: David Brown
Date: Wed, 18 Nov 2026 07:43
Date: Wed, 18 Nov 2026 07:43
199 lines
11087 bytes
11087 bytes
On 18/11/2026 01:26, Ross Finlayson wrote:
> 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.
>
We are not taking offence at anything. We are asking that you cut out
the absurd pseudo-intellectual writing. You seem to love name dropping,
so here is one for you - the Dunning-Kruger effect. You believe you
have an advanced writing style, but you do not. A classic sign is the
use of nonsense "Latin plurals" like "forae". The word "forum" is
English, and its plural in English is "forums". That the etymology is
Latin is irrelevant. People that aim to write clearly and simply
without being pretentious write "forums" without thinking about it.
People who study linguistics or more advanced writing understand that
"forum" comes from the Latin but in English the plural is "forums".
People that want to show off that they believe they are more "educated"
or "sophisticated" than others, write "forae" (or less inaccurately,
"fora") and feel smug about it.
You have a serious communications problem. It is something you need to
accept and understand - then you can improve on it. Don't listen to
what sycophantic AI systems tell you about your writing - listen to what
real people tell you.
> 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.
Why not simply write :
"""
Everyone in comp.lang.c and comp.lang.c++ already knows almost
everything about the C and C++ languages. And really, there is only one
language - C/C++.
"""
It would be a much more succinct way to say exactly the same thing.
Both claims are completely wrong, but at least if people can see what
you are writing, we can start talking about /why/ you are wrong, and
give you a better understanding.
>
>
> 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.
>
Why not just write :
"""
How do I write C++ code in C?
"""
The answer then would be, you don't. Write C++ code in C++. Write C
code in C.
>
>
> 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.
>
Saying nothing but referring to the original post in a thread does not
make the post topical.
>
>
> Warm, i.e., warm regards.
>
>
>
>
>
Technical Details
Message-ID:
<11djku9$14q9v$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.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> <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: does an expression in a logical statement need parenthesis for proper evaluation? Date: Wed, 18 Nov 2026 08:43:04 +0100 Organization: A noiseless patient Spider Lines: 199 Message-ID: <11djku9$14q9v$1@dont-email.me> 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> <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 18 Nov 2026 07:43:07 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1206591"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5ray9nYsieU4kb11FmZGCVCzKI9OSR80="; posting-host="6b3a39a975d52b5e7bdf98655ca94037" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Otq0RN0/XcF9vpLNKxdhM3064GE= sha256:1D3dt5JmKxXqXt+d5mtSE+hoXbJEHwMJdgs82POTGdM= sha1:IwDA6oR5IHE1za3wkaClRjCBVJk= sha256:uu4oDdGRKdFdt7LzjALxnf4n4sQR7pvqKIU1n41/IZY= In-Reply-To: <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> Content-Language: en-GB, nb-NO