Thread View: comp.lang.c++
158 messages
158 total messages
Page 3 of 4
Started by Lynn McGuire
Thu, 05 Nov 2026 23:42
Page 3 of 4 • 158 total messages
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Wed, 18 Nov 2026 11:01
Date: Wed, 18 Nov 2026 11:01
101 lines
6686 bytes
6686 bytes
On 11/18/2026 12:44 AM, Janis Papanagnou wrote:
> On 2026-11-18 08:43, David Brown wrote:
>> On 18/11/2026 01:26, Ross Finlayson wrote:
>>> [...]
>>
>> 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.
>
> Erm..., you mean "forae" is "inaccurate"; not plain wrong!?
>
> The "fora" might be okay in nominative form but depending on
> context shouldn't one also expect - exempli gratia! :-) -
> "foro" and "foris" (the singular/plural ablative forms).
>
> IOW; why opening the can of worms?! (The dispute got silly.)
>
>
> WRT the massive comments on Ross' way to express himself...
>
> Teaching adult people how they should talk I consider rude
> and presumptuous. He's already been told by multiple posters
> that his way of writing is by some considered confusing, or
> unnecessary voluminous, or demanding, whatever - now he and
> we all, each of use, can decide whether we change, continue,
> or stop our communication engagement (here, or in similar
> threads).
>
> I'd like to emphasize - and thereby deviate from some other
> opinion implied in this thread - that communication is not a
> one-way; two parties are involved. (See also Claude Shannon.)
>
> I find his writing more demanding than the usual posts, and
> the reference to Wittgenstein might explain something (though
> before he mentioned that I was rather thinking more of Kant).
> Anyway. The Usenet-Communication Market and time will fix all
> discrepancies.
>
> Only, please stop teaching adults! And please omit all those
> generalizing statements like "People {do/are} {this/that}".
>
> Janis
>
>> [...]
>
About Wittgenstein, people studying logic & history often
arrive at the profundity of the "Tractatus Logicophilosophicus",
which by its name is a worked-over work about logic and philosophy.
So, Wittgenstein, heir of an Austrian steel magnate, sat under
Gottlob Frege, who wasn't publishing so much at this point some
decades after Russell sub-marined the Grundlagen or Grundgesetze
(ground-laws or ground-setups, efforts in "Foundations") with
Russell's paradox, then Russell came up with Russell's retro-thesis
which is an axiom that ordinary infinity exists, point being
they weren't on the best of terms. So, after one figures copying
Frege the Tractatus Logicophilosophicus and at the end of it
it writing "I refuse!", then Wittgenstein switched sides of the
Channel and went and sat under Russell, then Wittgenstein didn't
publish anything else until posthumously. During that time
though Wittgenstein made an account that "language is games"
then further "... and no-one knows the rules". I dispute this
since that since Panini the grammarian in Ancient India,
grammar's a natural field of study.
Adults or youth can avail themselves their own resources and
influences to make of themselves the sum of their own influences
including their own.
What I'm saying is that what I write is what I write, and that
if later, you ask, "did you write this?", I will resound,
"quite right I did, and it is what it is". It's not like
Wittgenstein who constantly referred to "the author of the
Tractatus Logicophilosophicus" in the third-person, which
some read as if "he changed" instead of "he didn't write it".
Wittgenstein then is like "you can't handle the truth", and
it's like: "Wittgenstein: you didn't order the code red."
Words speak for themselves.
Hm. On Usenet, there's a notion of the "obligatory", here
for example to say something about C and C++. In that sense
this post is lacking.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Wed, 18 Nov 2026 13:07
Date: Wed, 18 Nov 2026 13:07
63 lines
5218 bytes
5218 bytes
On 18/11/2026 11:50, Ross Finlayson wrote: > On 11/18/2026 01:56 AM, David Brown wrote: >> On 18/11/2026 09:44, Janis Papanagnou wrote: >> >> <snip> >> >> I want Ross to write in a way that is comprehensible to others, because >> I think he has things to say that might be interesting to others. The >> way he writes at the moment is often not comprehensible, even after >> readers spend considerable time and effort trying to understand him. I >> am not trying to "teach an adult person how to talk" - I am trying to >> make him understand that he has a problem communicating, and trying to >> give some suggestions to help with that. >> >> The alternative is simply to ignore all his posts - I would consider >> that a poorer choice. >> > > I see it more as "communicating about problems" than "problem > communicating", and can see that it results "problems communicating > about problems". > Then you see it differently from other people - thus you have problems communicating with other people. But this post was clearer than most of your posts, so I take that as a good sign that you are trying harder. However, I will snip everything that is irrelevant and off-topic. > > About C and C++ together being C/C++, the compiler/front-end > treats them all the same and even has "FORTRAN" in there too, > I don't much know FORTRAN, yet it's among "models of computation" > with "process models" and "resource models", in: "models of > communication", resulting "object files" with "C symbol exports > and C++ name-manglig C symbol exports". > No, compilers treat the different languages as different languages. GCC is an acronym for "GNU Compiler Collection" - it is a collection of several compilers for different languages. Parts of these compilers are shared, but the front-ends are separate for each language. GCC have compilers for C, C++, Objective-C, Objective-C++, D, Go, Rust, Fortran, Ada, Modula-2, COBOL and Algol 68. They have supported other languages in the past, and there are a number of gcc forks supporting other languages. These are not the same language. There is no language "C/C++", any more than there is a language "Rust/COBOL". Standard C is mostly, but not entirely, contained as a subset within C++ - and also within D, Objective-C and Objective-C++. But they are still different languages. The program "gcc" is not a compiler in and of itself. It is a "driver" program that is used to run GCC's compilers (which are separate programs for each language), along with additional non-GCC tools like assemblers and linkers. It is common for C++ toolchains to support C in addition to C++. Whether they do so as part of a single monolithic tool, or - like gcc - by using separate tools, depends on the toolchain. The extent to which C is supported varies. MSVC has good support for C++ standards, but famously poor support for C standards. Most C compilers do not support C++ at all.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Wed, 18 Nov 2026 13:42
Date: Wed, 18 Nov 2026 13:42
159 lines
9483 bytes
9483 bytes
On 11/18/2026 05:07 AM, David Brown wrote: > On 18/11/2026 11:50, Ross Finlayson wrote: >> On 11/18/2026 01:56 AM, David Brown wrote: >>> On 18/11/2026 09:44, Janis Papanagnou wrote: >>> >>> <snip> >>> >>> I want Ross to write in a way that is comprehensible to others, because >>> I think he has things to say that might be interesting to others. The >>> way he writes at the moment is often not comprehensible, even after >>> readers spend considerable time and effort trying to understand him. I >>> am not trying to "teach an adult person how to talk" - I am trying to >>> make him understand that he has a problem communicating, and trying to >>> give some suggestions to help with that. >>> >>> The alternative is simply to ignore all his posts - I would consider >>> that a poorer choice. >>> >> >> I see it more as "communicating about problems" than "problem >> communicating", and can see that it results "problems communicating >> about problems". >> > > Then you see it differently from other people - thus you have problems > communicating with other people. But this post was clearer than most of > your posts, so I take that as a good sign that you are trying harder. > However, I will snip everything that is irrelevant and off-topic. > >> >> About C and C++ together being C/C++, the compiler/front-end >> treats them all the same and even has "FORTRAN" in there too, >> I don't much know FORTRAN, yet it's among "models of computation" >> with "process models" and "resource models", in: "models of >> communication", resulting "object files" with "C symbol exports >> and C++ name-manglig C symbol exports". >> > No, compilers treat the different languages as different languages. > > GCC is an acronym for "GNU Compiler Collection" - it is a collection of > several compilers for different languages. Parts of these compilers are > shared, but the front-ends are separate for each language. GCC have > compilers for C, C++, Objective-C, Objective-C++, D, Go, Rust, Fortran, > Ada, Modula-2, COBOL and Algol 68. They have supported other languages > in the past, and there are a number of gcc forks supporting other > languages. > > These are not the same language. There is no language "C/C++", any more > than there is a language "Rust/COBOL". Standard C is mostly, but not > entirely, contained as a subset within C++ - and also within D, > Objective-C and Objective-C++. But they are still different languages. > > The program "gcc" is not a compiler in and of itself. It is a "driver" > program that is used to run GCC's compilers (which are separate programs > for each language), along with additional non-GCC tools like assemblers > and linkers. > > It is common for C++ toolchains to support C in addition to C++. Whether > they do so as part of a single monolithic tool, or - like gcc - by using > separate tools, depends on the toolchain. The extent to which C is > supported varies. MSVC has good support for C++ standards, but famously > poor support for C standards. Most C compilers do not support C++ at all. > > I look for good influences. I'm watching a talk here from a "Dan Saks", who's like a "Secretary of the C++ Standards Committee". So, he's making this talk he's titled: Extern "C": Talking to C Programmers About C++. So, he says stuff like "I'm always introspective about these things", which is appreciated, more analytical than concrete, and also he mentions in the beginning that he's "a language guy", or "language-maiden" I think he said, vis-a-vis, "embedded systems programming". So, he's coming from the perspective, or rather, what he says implies so, that he's trying to get people who are C programmers to use C++ instead, when it makes sense, and also addressing the capability, that the mental-model of the model-of-computation the process-model and resource-model of C is "close to the hardware", with regards to usual accounts like "3GL's" and "4GL's", third- and fourth-generation languages, and their accounts of abstraction. Then, here the point is to arrive at patterns, that _naturally adapt_ to make it so that _libraries_, or the re-usable code then to be used from all sorts of runtimes with bindings to objects and shared-objects, like ADA or "Rust" those borrow-checking borrow-checkers, "Perl" or "Go" or any sorts usual accounts that result having to work with the _system_ libraries, anyways: inter-operate, in the un-surprising manners. Besides the system libraries, and a single-threaded account of the entire system, then also there's the process-model, which is also ubiquitous, and defined for C. So, when implementing libraries, regardless of their source language, the resulting objects/artifacts/.../"modules", it's either as that C and all the other bindings can call them like all the system libraries, or various accounts of the conventions of the symbols require simply a compatible tool-chain after sources that matches the same convention. C++ libraries in the C++ ecosystem can interoperate with lucking out being compiled compatibly, C is not dis-similar according to object-files and calling-conventions the compiled-compatibly, yet that's under calling conventions which also get broken out in the sources. Point being: since these are plain system-common object-files, objects not "artifacts" with accounts of making their language-bindings, that's the floor. He says "when it comes to persuasion if you're arguing you're losing", yet, one always makes arguments as account on their own merits when being analytical instead following-the-red-dot, then to make a sort of cohesive, coherent, correpondent, pragmatic theory, then when gets stated as opinion. I.e., argument & agreement are a mutual account. Then, it was mentioned name-dropping, that usually enough being about "argument from authority". The idea is that by mentioning an abstract third-party, then both parties have access to all their work, and so it can be construed that if authority is given to the thud of the name-drop, implicitly the dropper agrees that that's the authority given. So, academia does this all the time since that's how we know where the food comes from, instead of making otherwise just an account of personal opinion. So, the "argument from authority", is also well-known among acconts of fallacious reasoning, for example from the Wikipedia the list of fallacies. https://en.wikipedia.org/wiki/List_of_fallacies The thing about fallacies, is that in the sophistry and casuistry, about philo-sophy and "philo-casuy": there are both Type I and Type II errors. https://en.wikipedia.org/wiki/Type_I_errors "The thing is that: software engineers are people too." "If I cared about people skills, I wouldn't be writing software for a living." "I might lose half my audience if I started staking out a position here." So, the "if you're arguing you're losing", from Saks' talk, is that until you've argued it you don't know you're winning.
Re: [meta] O tempora, o mores! (was Re: does an expression in a
Author: boltar
Date: Wed, 18 Nov 2026 16:34
Date: Wed, 18 Nov 2026 16:34
9 lines
2419 bytes
2419 bytes
On Wed, 18 Nov 2026 14:07:55 +0100 David Brown <david.brown@hesbynett.no> gabbled: >It is common for C++ toolchains to support C in addition to C++. >Whether they do so as part of a single monolithic tool, or - like gcc - >by using separate tools, depends on the toolchain. The extent to which >C is supported varies. MSVC has good support for C++ standards, but C++ has to at least support C89 as its what C++ was built out of.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Wed, 18 Nov 2026 17:00
Date: Wed, 18 Nov 2026 17:00
87 lines
6591 bytes
6591 bytes
On 18/11/2026 14:42, Ross Finlayson wrote: > On 11/18/2026 05:07 AM, David Brown wrote: >> On 18/11/2026 11:50, Ross Finlayson wrote: >>> On 11/18/2026 01:56 AM, David Brown wrote: >>>> On 18/11/2026 09:44, Janis Papanagnou wrote: >>>> >>>> <snip> >>>> >>>> I want Ross to write in a way that is comprehensible to others, because >>>> I think he has things to say that might be interesting to others. The >>>> way he writes at the moment is often not comprehensible, even after >>>> readers spend considerable time and effort trying to understand him. I >>>> am not trying to "teach an adult person how to talk" - I am trying to >>>> make him understand that he has a problem communicating, and trying to >>>> give some suggestions to help with that. >>>> >>>> The alternative is simply to ignore all his posts - I would consider >>>> that a poorer choice. >>>> >>> >>> I see it more as "communicating about problems" than "problem >>> communicating", and can see that it results "problems communicating >>> about problems". >>> >> >> Then you see it differently from other people - thus you have problems >> communicating with other people. But this post was clearer than most of >> your posts, so I take that as a good sign that you are trying harder. >> However, I will snip everything that is irrelevant and off-topic. >> >>> >>> About C and C++ together being C/C++, the compiler/front-end >>> treats them all the same and even has "FORTRAN" in there too, >>> I don't much know FORTRAN, yet it's among "models of computation" >>> with "process models" and "resource models", in: "models of >>> communication", resulting "object files" with "C symbol exports >>> and C++ name-manglig C symbol exports". >>> >> No, compilers treat the different languages as different languages. >> >> GCC is an acronym for "GNU Compiler Collection" - it is a collection of >> several compilers for different languages. Parts of these compilers are >> shared, but the front-ends are separate for each language. GCC have >> compilers for C, C++, Objective-C, Objective-C++, D, Go, Rust, Fortran, >> Ada, Modula-2, COBOL and Algol 68. They have supported other languages >> in the past, and there are a number of gcc forks supporting other >> languages. >> >> These are not the same language. There is no language "C/C++", any more >> than there is a language "Rust/COBOL". Standard C is mostly, but not >> entirely, contained as a subset within C++ - and also within D, >> Objective-C and Objective-C++. But they are still different languages. >> >> The program "gcc" is not a compiler in and of itself. It is a "driver" >> program that is used to run GCC's compilers (which are separate programs >> for each language), along with additional non-GCC tools like assemblers >> and linkers. >> >> It is common for C++ toolchains to support C in addition to C++. Whether >> they do so as part of a single monolithic tool, or - like gcc - by using >> separate tools, depends on the toolchain. The extent to which C is >> supported varies. MSVC has good support for C++ standards, but famously >> poor support for C standards. Most C compilers do not support C++ at >> all. >> >> > > > I look for good influences. I'm watching a talk here from a "Dan Saks", > who's like a "Secretary of the C++ Standards Committee". So, > he's making this talk he's titled: Extern "C": Talking to C Programmers > About C++. Dan Saks has written a lot about C++. He is not "like" the secretary of the C++ Standards Committee - he /was/ the secretary, long ago, when C++ was first getting standardised. I think he has a lot of good things to say, though not about the most modern C++ standards or usage - to my knowledge he has not published anything for about a decade. So yes, he is a "good influence", IMHO. Nothing I have read by him suggests he thinks C and C++ are the same language. Indeed, the title of the talk you mention makes it clear that they are definitely separate languages. (I've snipped the rest of the post, as it was nonsense. But I will continue trying to reply to things that are topical and written in a comprehensible manner - assuming, of course, I have something to say about them.)
Re: [meta] O tempora, o mores! (was Re: does an expression in a
Author: David Brown
Date: Wed, 18 Nov 2026 17:03
Date: Wed, 18 Nov 2026 17:03
20 lines
3078 bytes
3078 bytes
On 18/11/2026 17:34, boltar@caprica.universe wrote: > On Wed, 18 Nov 2026 14:07:55 +0100 > David Brown <david.brown@hesbynett.no> gabbled: >> It is common for C++ toolchains to support C in addition to C++. >> Whether they do so as part of a single monolithic tool, or - like gcc >> - by using separate tools, depends on the toolchain. The extent to >> which C is supported varies. MSVC has good support for C++ standards, >> but > > C++ has to at least support C89 as its what C++ was built out of. > C++ is a /language/. Languages do not "support" other languages. If you mean that a C++ compiler has to support at least C89, you are approximately correct in that most of C89/C90 is in a subset of C++ (of any standard version). But there are still quite a number of differences. The C++ standards even have a nice summary of these in an annex.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Chris M. Thomasson
Date: Wed, 18 Nov 2026 21:01
Date: Wed, 18 Nov 2026 21:01
70 lines
5426 bytes
5426 bytes
On 11/18/2026 5:07 AM, David Brown wrote: > On 18/11/2026 11:50, Ross Finlayson wrote: >> On 11/18/2026 01:56 AM, David Brown wrote: >>> On 18/11/2026 09:44, Janis Papanagnou wrote: >>> >>> <snip> >>> >>> I want Ross to write in a way that is comprehensible to others, because >>> I think he has things to say that might be interesting to others. The >>> way he writes at the moment is often not comprehensible, even after >>> readers spend considerable time and effort trying to understand him. I >>> am not trying to "teach an adult person how to talk" - I am trying to >>> make him understand that he has a problem communicating, and trying to >>> give some suggestions to help with that. >>> >>> The alternative is simply to ignore all his posts - I would consider >>> that a poorer choice. >>> >> >> I see it more as "communicating about problems" than "problem >> communicating", and can see that it results "problems communicating >> about problems". >> > > Then you see it differently from other people - thus you have problems > communicating with other people. But this post was clearer than most of > your posts, so I take that as a good sign that you are trying harder. > However, I will snip everything that is irrelevant and off-topic. > >> >> About C and C++ together being C/C++, the compiler/front-end >> treats them all the same and even has "FORTRAN" in there too, >> I don't much know FORTRAN, yet it's among "models of computation" >> with "process models" and "resource models", in: "models of >> communication", resulting "object files" with "C symbol exports >> and C++ name-manglig C symbol exports". >> > No, compilers treat the different languages as different languages. > > GCC is an acronym for "GNU Compiler Collection" - it is a collection of > several compilers for different languages. Gotta love the GAS! :^) > Parts of these compilers are > shared, but the front-ends are separate for each language. GCC have > compilers for C, C++, Objective-C, Objective-C++, D, Go, Rust, Fortran, > Ada, Modula-2, COBOL and Algol 68. They have supported other languages > in the past, and there are a number of gcc forks supporting other > languages. > > These are not the same language. There is no language "C/C++", any more > than there is a language "Rust/COBOL". Standard C is mostly, but not > entirely, contained as a subset within C++ - and also within D, > Objective-C and Objective-C++. But they are still different languages. > > The program "gcc" is not a compiler in and of itself. It is a "driver" > program that is used to run GCC's compilers (which are separate programs > for each language), along with additional non-GCC tools like assemblers > and linkers. > > It is common for C++ toolchains to support C in addition to C++. Whether > they do so as part of a single monolithic tool, or - like gcc - by using > separate tools, depends on the toolchain. The extent to which C is > supported varies. MSVC has good support for C++ standards, but famously > poor support for C standards. Most C compilers do not support C++ at all. > >
Re: does an expression in a logical statement need parenthesis for proper evaluation?
Author: Lynn McGuire
Date: Wed, 18 Nov 2026 22:40
Date: Wed, 18 Nov 2026 22:40
83 lines
5272 bytes
5272 bytes
On 11/18/2026 1:11 AM, Chris M. Thomasson wrote: > On 11/10/2026 1:21 PM, Lynn McGuire wrote: >> On 11/10/2026 3:12 PM, Chris M. Thomasson wrote: >>> On 11/10/2026 12:48 PM, Lynn McGuire wrote: >>>> On 11/10/2026 12:25 AM, Chris M. Thomasson wrote: >>>>> On 11/9/2026 8:39 PM, Lynn McGuire wrote: >>>>>> On 11/9/2026 6:54 PM, Keith Thompson wrote: >>>>>>> Lawrence D’Oliveiro <ldo@nz.invalid> writes: >>>>>>>> On Mon, 9 Nov 2026 06:00:40 -0500, James Kuyper wrote: >>>>>>>>> I tend not to use unnecessary parentheses, and I know the grammar >>>>>>>>> well enough to correctly identify them - but many people don't >>>>>>>>> know >>>>>>>>> the grammar that well, which might include the next person to >>>>>>>>> maintain my code. >>>>>>>> >>>>>>>> Even if they haven’t committed the precedence table to memory, >>>>>>>> surely >>>>>>>> they have the ability to look things up online >>>>>>>> <https://en.cppreference.com/c/language/operator_precedence>. >>>>>>>> >>>>>>>> If someone has regular trouble with certain language features, why >>>>>>>> aren’t pages that clarify those very issues not already in their >>>>>>>> browser bookmarks? >>>>>>> >>>>>>> If I haven't memorized all the precedence levels, I greatly prefer >>>>>>> an expression I can read at a glance to one that requires me to >>>>>>> consult some document before I can be sure what it means, just so >>>>>>> I can continue to the next line of code. >>>>>>> >>>>>>> Just one example: I couldn't tell you whether `^` or `|` binds more >>>>>>> tightly without looking it up. If you can, that's great. >>>>>>> >>>>>>> Preferences for *how many* strictly semantically unnecessary >>>>>>> parentheses are appropriate vary greatly, but few C programmers >>>>>>> would insist on none. >>>>>> >>>>>> I ship my software written in four different software languages. >>>>>> C+ +, Fortran, Visual Basic, and C#. Remembering the nuances of >>>>>> each is tricky. I find it best to be safe. >>>>>> >>>>>> I have shipped software in about a dozen software languages in my >>>>>> 51 year career. C++, Fortran IV (66), Fortran 77, Visual Basic, >>>>> >>>>> VB 6? Do you use access as well? >>>>> >>>>>> C#, Turbo Pascal, Basic, Turbo C, Unix C, IBM 370 Assembler, Intel >>>>>> x86 Assembler, AWK. I think that I am leaving out a couple that I >>>>>> cannot remember at the moment. >>>>>> >>>>>> Lynn >>>> >>>> Nope. It is just a sample app with source code to show how to >>>> connect to my DLLs using VB. >>> >>> That's fine. Fwiw, I wrote a full blown specialized whole home/pool >>> inspection system using VB 6, Access and Word 6 for my Dad way back >>> in the day. What service pack are you using? Those were fun... ahh, >>> back in the day... ;^o >>> >>> >>>> I have several samples apps including an Excel spreadsheet. I have >>>> never used Access. >>> >>> Actually, Access worked pretty damn good for my needs. Then, iirc, it >>> got superseded by SQL server. >>> >>> >>>> All of my calculation software is currently Win32 DLLs so my >>>> customers can easily use them for custom calculations. >>> >>> Well, that should work fine. Once they know the API, anybody should >>> be able to use them. Iirc, it was a little strange to map DLL's >>> created in C to the VB 6 data types. But, can be done for sure. >> >> VB6 SP5 IIRC. > > Nice. I think I still have a CD with a SP3. Going from VB to Win32 and > back can be done, but its always felt odd to me. I do not even have VB6 on my current Win 11 system. I do have it on my Win 7 system behind me. Lynn
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Keith Thompson
Date: Wed, 18 Nov 2026 22:44
Date: Wed, 18 Nov 2026 22:44
32 lines
3579 bytes
3579 bytes
Ross Finlayson <ross.a.finlayson@gmail.com> writes:
[word salad snipped
> About C and C++ together being C/C++, the compiler/front-end
> treats them all the same and even has "FORTRAN" in there too,
> I don't much know FORTRAN, yet it's among "models of computation"
> with "process models" and "resource models", in: "models of
> communication", resulting "object files" with "C symbol exports
> and C++ name-manglig C symbol exports".
That one paragraph of your post, unlike the preceding ones, was
fairly straightforward. It was also incorrect.
C and C++ compilers do not share a front end. There are compiler
systems (gcc, clang, MS Visual Studio, probably others) that can
compile either C or C++, but they have distinct front-ends, even
if they share a common language-independent back-end.
C and C++ have different grammars. For example, "class" is a keyword
in C++ but not in C. I'm fairly sure there is no compiler whose
parser component, when processing "int class;", will check which
language it's compiling to determine whether that's a declaration
or a syntax error. There's a C front-end that includes a C parser
that treats "class" as an ordinary identifier, and a C++ front-end
that includes a C++ parser that treats "class" as a keyword.
C and C++ are distinct languages. They are treated by implementations
as distinct languages. "C/C++" is a meaningless marketing term.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Keith Thompson
Date: Wed, 18 Nov 2026 22:52
Date: Wed, 18 Nov 2026 22:52
12 lines
2433 bytes
2433 bytes
Ross Finlayson <ross.a.finlayson@gmail.com> writes:
[...]
> About Wittgenstein, people studying logic & history often
> arrive at the profundity of the "Tractatus Logicophilosophicus",
> which by its name is a worked-over work about logic and philosophy.
[...]
Please stop.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Re: does an expression in a logical statement need parenthesis for proper evaluation?
Author: Chris M. Thomasson
Date: Wed, 18 Nov 2026 22:53
Date: Wed, 18 Nov 2026 22:53
86 lines
5640 bytes
5640 bytes
On 11/18/2026 2:40 PM, Lynn McGuire wrote: > On 11/18/2026 1:11 AM, Chris M. Thomasson wrote: >> On 11/10/2026 1:21 PM, Lynn McGuire wrote: >>> On 11/10/2026 3:12 PM, Chris M. Thomasson wrote: >>>> On 11/10/2026 12:48 PM, Lynn McGuire wrote: >>>>> On 11/10/2026 12:25 AM, Chris M. Thomasson wrote: >>>>>> On 11/9/2026 8:39 PM, Lynn McGuire wrote: >>>>>>> On 11/9/2026 6:54 PM, Keith Thompson wrote: >>>>>>>> Lawrence D’Oliveiro <ldo@nz.invalid> writes: >>>>>>>>> On Mon, 9 Nov 2026 06:00:40 -0500, James Kuyper wrote: >>>>>>>>>> I tend not to use unnecessary parentheses, and I know the grammar >>>>>>>>>> well enough to correctly identify them - but many people don't >>>>>>>>>> know >>>>>>>>>> the grammar that well, which might include the next person to >>>>>>>>>> maintain my code. >>>>>>>>> >>>>>>>>> Even if they haven’t committed the precedence table to memory, >>>>>>>>> surely >>>>>>>>> they have the ability to look things up online >>>>>>>>> <https://en.cppreference.com/c/language/operator_precedence>. >>>>>>>>> >>>>>>>>> If someone has regular trouble with certain language features, why >>>>>>>>> aren’t pages that clarify those very issues not already in their >>>>>>>>> browser bookmarks? >>>>>>>> >>>>>>>> If I haven't memorized all the precedence levels, I greatly prefer >>>>>>>> an expression I can read at a glance to one that requires me to >>>>>>>> consult some document before I can be sure what it means, just so >>>>>>>> I can continue to the next line of code. >>>>>>>> >>>>>>>> Just one example: I couldn't tell you whether `^` or `|` binds more >>>>>>>> tightly without looking it up. If you can, that's great. >>>>>>>> >>>>>>>> Preferences for *how many* strictly semantically unnecessary >>>>>>>> parentheses are appropriate vary greatly, but few C programmers >>>>>>>> would insist on none. >>>>>>> >>>>>>> I ship my software written in four different software languages. >>>>>>> C+ +, Fortran, Visual Basic, and C#. Remembering the nuances of >>>>>>> each is tricky. I find it best to be safe. >>>>>>> >>>>>>> I have shipped software in about a dozen software languages in my >>>>>>> 51 year career. C++, Fortran IV (66), Fortran 77, Visual Basic, >>>>>> >>>>>> VB 6? Do you use access as well? >>>>>> >>>>>>> C#, Turbo Pascal, Basic, Turbo C, Unix C, IBM 370 Assembler, >>>>>>> Intel x86 Assembler, AWK. I think that I am leaving out a couple >>>>>>> that I cannot remember at the moment. >>>>>>> >>>>>>> Lynn >>>>> >>>>> Nope. It is just a sample app with source code to show how to >>>>> connect to my DLLs using VB. >>>> >>>> That's fine. Fwiw, I wrote a full blown specialized whole home/pool >>>> inspection system using VB 6, Access and Word 6 for my Dad way back >>>> in the day. What service pack are you using? Those were fun... ahh, >>>> back in the day... ;^o >>>> >>>> >>>>> I have several samples apps including an Excel spreadsheet. I have >>>>> never used Access. >>>> >>>> Actually, Access worked pretty damn good for my needs. Then, iirc, >>>> it got superseded by SQL server. >>>> >>>> >>>>> All of my calculation software is currently Win32 DLLs so my >>>>> customers can easily use them for custom calculations. >>>> >>>> Well, that should work fine. Once they know the API, anybody should >>>> be able to use them. Iirc, it was a little strange to map DLL's >>>> created in C to the VB 6 data types. But, can be done for sure. >>> >>> VB6 SP5 IIRC. >> >> Nice. I think I still have a CD with a SP3. Going from VB to Win32 and >> back can be done, but its always felt odd to me. > > I do not even have VB6 on my current Win 11 system. I do have it on my > Win 7 system behind me. > The little shit can run in dosbox. I had it on winnt, me and xp back in the day. I still have some legacy boxes, pentium 4's iirc, that have my old home/pool inspection system still running.
Re: does an expression in a logical statement need parenthesis for proper evaluation?
Author: Lynn McGuire
Date: Thu, 19 Nov 2026 02:22
Date: Thu, 19 Nov 2026 02:22
26 lines
2713 bytes
2713 bytes
On 11/18/2026 4:53 PM, Chris M. Thomasson wrote: ... >>>>>> All of my calculation software is currently Win32 DLLs so my >>>>>> customers can easily use them for custom calculations. >>>>> >>>>> Well, that should work fine. Once they know the API, anybody should >>>>> be able to use them. Iirc, it was a little strange to map DLL's >>>>> created in C to the VB 6 data types. But, can be done for sure. >>>> >>>> VB6 SP5 IIRC. >>> >>> Nice. I think I still have a CD with a SP3. Going from VB to Win32 >>> and back can be done, but its always felt odd to me. >> >> I do not even have VB6 on my current Win 11 system. I do have it on >> my Win 7 system behind me. >> > The little shit can run in dosbox. I had it on winnt, me and xp back in > the day. I still have some legacy boxes, pentium 4's iirc, that have my > old home/pool inspection system still running. VB6 is a 32 bit Windows program. I highly doubt that it will run in DosBox. Maybe VB5 is a Win16 program? Lynn
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Thu, 19 Nov 2026 07:39
Date: Thu, 19 Nov 2026 07:39
40 lines
4240 bytes
4240 bytes
On 18/11/2026 23:44, Keith Thompson wrote: > Ross Finlayson <ross.a.finlayson@gmail.com> writes: > [word salad snipped > >> About C and C++ together being C/C++, the compiler/front-end >> treats them all the same and even has "FORTRAN" in there too, >> I don't much know FORTRAN, yet it's among "models of computation" >> with "process models" and "resource models", in: "models of >> communication", resulting "object files" with "C symbol exports >> and C++ name-manglig C symbol exports". > > That one paragraph of your post, unlike the preceding ones, was > fairly straightforward. It was also incorrect. > > C and C++ compilers do not share a front end. There are compiler > systems (gcc, clang, MS Visual Studio, probably others) that can > compile either C or C++, but they have distinct front-ends, even > if they share a common language-independent back-end. > > C and C++ have different grammars. For example, "class" is a keyword > in C++ but not in C. I'm fairly sure there is no compiler whose > parser component, when processing "int class;", will check which > language it's compiling to determine whether that's a declaration > or a syntax error. There's a C front-end that includes a C parser > that treats "class" as an ordinary identifier, and a C++ front-end > that includes a C++ parser that treats "class" as a keyword. > > C and C++ are distinct languages. They are treated by implementations > as distinct languages. "C/C++" is a meaningless marketing term. > To be fair, "C/C++" was not as meaningless in the very early days of C++ when the language was an experimental "C with classes" extension to C. Thus there is the rather well-renowned "C/C++ Users Journal". But by the time Stroustrup's "The C++ Programming Language" was published in 1985, I would say C++ was established as its own language independent of (but cooperating with) C. Other people may pick a different date or event for the division, but they have certainly been distinct languages for a very long time now.
[OT] Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Janis Papanagnou
Date: Thu, 19 Nov 2026 08:12
Date: Thu, 19 Nov 2026 08:12
40 lines
3823 bytes
3823 bytes
On 2026-11-18 12:01, Ross Finlayson wrote: > On 11/18/2026 12:44 AM, Janis Papanagnou wrote: >> [...] >> I find his writing more demanding than the usual posts, and >> the reference to Wittgenstein might explain something (though >> before he mentioned that I was rather thinking more of Kant). >> Anyway. The Usenet-Communication Market and time will fix all >> discrepancies. >> [...] > > About Wittgenstein, people studying logic & history often > arrive at the profundity of the "Tractatus Logicophilosophicus", > which by its name is a worked-over work about logic and philosophy. > [...snip about the philosophers...] > What I'm saying is that what I write is what I write, and that > if later, you ask, "did you write this?", I will resound, > "quite right I did, and it is what it is". It's not like > Wittgenstein who constantly referred to "the author of the > Tractatus Logicophilosophicus" in the third-person, which > some read as if "he changed" instead of "he didn't write it". > [...] > Words speak for themselves. We might have spoken at cross purposes. My mention of Kant was about the way he wrote, and similarities I saw with the way you are writing; in long sentences with many relative clauses. (Albeit seemingly less deviations in Kant's thoughts; he's more to the point. But, granted, this is Usenet not an elaborated book.) (What Wittgenstein wrote in his "Tractatus", though, is somewhat related to the sub-topic of boolean expressions. Referring to the role of logical expressions in context of syntax and semantics. But I wasn't addressing *that* in my meta-topic post.) Janis > [...]
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Janis Papanagnou
Date: Thu, 19 Nov 2026 08:25
Date: Thu, 19 Nov 2026 08:25
24 lines
3205 bytes
3205 bytes
On 2026-11-19 08:39, David Brown wrote: > On 18/11/2026 23:44, Keith Thompson wrote: >> Ross Finlayson <ross.a.finlayson@gmail.com> writes: >>> [...] >> [...] >> >> C and C++ are distinct languages. They are treated by implementations >> as distinct languages. "C/C++" is a meaningless marketing term. > > To be fair, "C/C++" was not as meaningless in the very early days of C++ "C/C++" is still a sensible shortcut formulation if one is referring to common and typical elements of these [two] languages. > when the language was an experimental "C with classes" extension to C. > Thus there is the rather well-renowned "C/C++ Users Journal". But by > the time Stroustrup's "The C++ Programming Language" was published in > 1985, I would say C++ was established as its own language independent of > (but cooperating with) C. Other people may pick a different date or > event for the division, but they have certainly been distinct languages > for a very long time now. Janis
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Janis Papanagnou
Date: Thu, 19 Nov 2026 08:45
Date: Thu, 19 Nov 2026 08:45
34 lines
3569 bytes
3569 bytes
On 2026-11-18 10:56, David Brown wrote:
>
> I want Ross to write in a way that is comprehensible to others, because
> I think he has things to say that might be interesting to others. The
> way he writes at the moment is often not comprehensible, even after
> readers spend considerable time and effort trying to understand him.
There seems to be a wide agreement (myself not excluded) on that
valuation.
> I am not trying to "teach an adult person how to talk" - I am trying to
> make him understand that he has a problem communicating, and trying to
> give some suggestions to help with that.
I understand that (well meant) intention well. And a lot of hints
(from a lot of people) have already been given. (I'm quite sure
he understood what had been criticized and what's suggested.) Now
it's up to Ross to consider (or ignore) that advice.
Beyond these (already given) hints, constant repetitions of "our"
demands in that respect don't contribute further (and I consider
them also as annoying). - That's why I suggested to just let the
"Usenet Communication Market" regulate it, and not to continue
explaining ("teaching") the same reservations again and again.
>
> The alternative is simply to ignore all his posts - I would consider
> that a poorer choice.
Yes. And all communication partners now have the option to address
the communication problems (in one way or the other).
Janis
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Thu, 19 Nov 2026 10:02
Date: Thu, 19 Nov 2026 10:02
40 lines
4029 bytes
4029 bytes
On 19/11/2026 09:25, Janis Papanagnou wrote: > On 2026-11-19 08:39, David Brown wrote: >> On 18/11/2026 23:44, Keith Thompson wrote: >>> Ross Finlayson <ross.a.finlayson@gmail.com> writes: >>>> [...] >>> [...] >>> >>> C and C++ are distinct languages. They are treated by implementations >>> as distinct languages. "C/C++" is a meaningless marketing term. >> >> To be fair, "C/C++" was not as meaningless in the very early days of C++ > > "C/C++" is still a sensible shortcut formulation if one is referring to > common and typical elements of these [two] languages. > Sure. But I think you need to be careful that it is clear from the context whether you are talking about C /and/ C++, C /or/ C++, a common subset of the languages, or an imaginary single language. Shortcuts are fine when everyone knows what you mean by them! In fact, with C++ I don't think it always makes sense to talk about "The C++ language" any more, without additional context. C++11 is a very significantly different language from the original C++98, and C++23 (and especially the up-and-coming C++26) is very different again. If and when C23 gains significant popularity, the same could perhaps be said of C. (That's all subjective opinion, and open to free debate!) >> when the language was an experimental "C with classes" extension to C. >> Thus there is the rather well-renowned "C/C++ Users Journal". But by >> the time Stroustrup's "The C++ Programming Language" was published in >> 1985, I would say C++ was established as its own language independent >> of (but cooperating with) C. Other people may pick a different date >> or event for the division, but they have certainly been distinct >> languages for a very long time now. > > Janis >
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Janis Papanagnou
Date: Thu, 19 Nov 2026 10:17
Date: Thu, 19 Nov 2026 10:17
44 lines
3954 bytes
3954 bytes
On 2026-11-19 11:02, David Brown wrote: > On 19/11/2026 09:25, Janis Papanagnou wrote: >> On 2026-11-19 08:39, David Brown wrote: >>> On 18/11/2026 23:44, Keith Thompson wrote: >>>> Ross Finlayson <ross.a.finlayson@gmail.com> writes: >>>>> [...] >>>> [...] >>>> C and C++ are distinct languages. They are treated by implementations >>>> as distinct languages. "C/C++" is a meaningless marketing term. >>> >>> To be fair, "C/C++" was not as meaningless in the very early days of C++ >> >> "C/C++" is still a sensible shortcut formulation if one is referring to >> common and typical elements of these [two] languages. > > Sure. But I think you need to be careful that it is clear from the > context whether you are talking about C /and/ C++, C /or/ C++, a common > subset of the languages, or an imaginary single language. All fair points. - Where the context requires it they should clearly be differentiated. (I had the impression that in Ross posts it was clear, but given that there's some confusion with his style and thinking it might not have been as obvious and unambiguous as it may have appeared to me.) > Shortcuts are fine when everyone knows what you mean by them! > > In fact, with C++ I don't think it always makes sense to talk about "The > C++ language" any more, without additional context. C++11 is a very > significantly different language from the original C++98, and C++23 (and > especially the up-and-coming C++26) is very different again. All very true. > If and > when C23 gains significant popularity, the same could perhaps be said of C. Yes, in context cases where the difference matters. Janis > [...]
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Thu, 19 Nov 2026 12:33
Date: Thu, 19 Nov 2026 12:33
39 lines
4150 bytes
4150 bytes
On 19/11/2026 11:17, Janis Papanagnou wrote: > On 2026-11-19 11:02, David Brown wrote: >> On 19/11/2026 09:25, Janis Papanagnou wrote: >>> On 2026-11-19 08:39, David Brown wrote: >>>> On 18/11/2026 23:44, Keith Thompson wrote: >>>>> Ross Finlayson <ross.a.finlayson@gmail.com> writes: >>>>>> [...] >>>>> [...] >>>>> C and C++ are distinct languages. They are treated by implementations >>>>> as distinct languages. "C/C++" is a meaningless marketing term. >>>> >>>> To be fair, "C/C++" was not as meaningless in the very early days of >>>> C++ >>> >>> "C/C++" is still a sensible shortcut formulation if one is referring to >>> common and typical elements of these [two] languages. >> >> Sure. But I think you need to be careful that it is clear from the >> context whether you are talking about C /and/ C++, C /or/ C++, a >> common subset of the languages, or an imaginary single language. > > All fair points. - Where the context requires it they should clearly > be differentiated. > > (I had the impression that in Ross posts it was clear, but given that > there's some confusion with his style and thinking it might not have > been as obvious and unambiguous as it may have appeared to me.) > To the limited extent that his posts seemed clear to me, he had been talking about the imaginary single language that compilers "treat as being the same". It does not appear that he understands that they are two different languages sharing a common subset, and that they are often used in very different ways. So if he was clear, he was clearly wrong. But maybe I (and others) have misunderstood him. It would be helpful if he clarified things, and said that he now understands what Keith and I wrote. Once we get on common ground, maybe we can move forward. But I am not holding my breath.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Janis Papanagnou
Date: Thu, 19 Nov 2026 13:36
Date: Thu, 19 Nov 2026 13:36
26 lines
3659 bytes
3659 bytes
On 2026-11-19 13:33, David Brown wrote: > > To the limited extent that his posts seemed clear to me, he had been > talking about the imaginary single language that compilers "treat as > being the same". It does not appear that he understands that they are > two different languages sharing a common subset, and that they are often > used in very different ways. So if he was clear, he was clearly wrong. > But maybe I (and others) have misunderstood him. It would be helpful if > he clarified things, and said that he now understands what Keith and I > wrote. Once we get on common ground, maybe we can move forward. But I > am not holding my breath. It may be that I've read past some "formally wrong" statements he made. It's that I usually try to understand what one wants to express beyond how it's actually formulated. - Maybe it's what (I think) Dan has once formulated; that it might distract the discussion if one isn't focused on the topic but more concerned about "exact" representation. - I think that observation is worthwhile to think about! - But I also know that some folks - you know who they are! - are now tempted to point out the very importance of exact representation. That's also not wrong but it's missing the point made.[*] Janis [*] I tried anticipating that point to prevent unnecessary replies.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Thu, 19 Nov 2026 13:52
Date: Thu, 19 Nov 2026 13:52
46 lines
4719 bytes
4719 bytes
On 19/11/2026 14:36, Janis Papanagnou wrote: > On 2026-11-19 13:33, David Brown wrote: >> >> To the limited extent that his posts seemed clear to me, he had been >> talking about the imaginary single language that compilers "treat as >> being the same". It does not appear that he understands that they are >> two different languages sharing a common subset, and that they are >> often used in very different ways. So if he was clear, he was clearly >> wrong. But maybe I (and others) have misunderstood him. It would be >> helpful if he clarified things, and said that he now understands what >> Keith and I wrote. Once we get on common ground, maybe we can move >> forward. But I am not holding my breath. > > It may be that I've read past some "formally wrong" statements he made. > It's that I usually try to understand what one wants to express beyond > how it's actually formulated. - Maybe it's what (I think) Dan has once > formulated; that it might distract the discussion if one isn't focused > on the topic but more concerned about "exact" representation. - I think > that observation is worthwhile to think about! - But I also know that > some folks - you know who they are! - are now tempted to point out the > very importance of exact representation. That's also not wrong but it's > missing the point made.[*] > > Janis > > [*] I tried anticipating that point to prevent unnecessary replies. > I think it is usually possible to tell what a poster means, even if they are, as you put it, "formally wrong". For example, it does not matter if they refer to a constant 1234 as an "integer literal" (the term in C23 and C++, IIRC), an "integer constant" (the term in C prior to C23), or non-standard but obvious terms like a "literal int" or "explicit integer in the source code". It can make sense to steer the poster towards the standard terms because it keeps things absolutely clear and is helpful if someone wants to look things up in the standards, but it it rarely useful to focus on it. However, if someone is mixing up different concepts - "integer literals" and "values of objects of type int" - then it is definitely worth correcting and clearing things up. As far as I can see, Ross' "C/C++" mixup here is more in that second category. But I can't be sure until he replies and clarifies (if he chooses to do so).
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Thu, 19 Nov 2026 15:14
Date: Thu, 19 Nov 2026 15:14
81 lines
5347 bytes
5347 bytes
On 11/19/2026 05:36 AM, Janis Papanagnou wrote: > On 2026-11-19 13:33, David Brown wrote: >> >> To the limited extent that his posts seemed clear to me, he had been >> talking about the imaginary single language that compilers "treat as >> being the same". It does not appear that he understands that they are >> two different languages sharing a common subset, and that they are >> often used in very different ways. So if he was clear, he was clearly >> wrong. But maybe I (and others) have misunderstood him. It would be >> helpful if he clarified things, and said that he now understands what >> Keith and I wrote. Once we get on common ground, maybe we can move >> forward. But I am not holding my breath. > > It may be that I've read past some "formally wrong" statements he made. > It's that I usually try to understand what one wants to express beyond > how it's actually formulated. - Maybe it's what (I think) Dan has once > formulated; that it might distract the discussion if one isn't focused > on the topic but more concerned about "exact" representation. - I think > that observation is worthwhile to think about! - But I also know that > some folks - you know who they are! - are now tempted to point out the > very importance of exact representation. That's also not wrong but it's > missing the point made.[*] > > Janis > > [*] I tried anticipating that point to prevent unnecessary replies. > I'm a formalist, meaning, representation theory is part of model theory, about language and interpretation. It's like this hypothetical sort of conversation for example. "Here's this project you'll be working on, here are the sources." "I see the identifiers are Pascal-style." "Yes, this code was long-ago first written in Pascal." "I see all these .c and .cpp files." "Yes, those are C and C++ sources." "Then, those are in the C language and the C++ language." "Yes, it's C/C++." "What do you call this?" "Windows." gcc -std=C11 | gcc -std=C++11 "How about this one?" "Oh that's Linux, it was written all in C, yet recently they started letting in this 'Rust', which has a very strange way of looking at over-riding the declarations of identifiers and re-using them in block-scope about the statement block. That's mostly due Google/Android and making everything more polyglot so eventually they'll fall under their LLVM/MLIR fiefdom to compile all this polyglotty." "Hm, what tooling am I going to need for that?" "Yeah I don't know, all we have here is gcc. Though, there is an idea they're moving from C90 to C99 in 2026." I'm a formalist, and accept and even invite correction: Aristotle will not be made a fool, and Hegel will not be made a liar. Then, "C/C++" is any code-base with both C and C++ sources, which most accounts of systems-programming employing C++ include.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Thu, 19 Nov 2026 16:17
Date: Thu, 19 Nov 2026 16:17
168 lines
9164 bytes
9164 bytes
On 11/19/2026 07:14 AM, Ross Finlayson wrote: > On 11/19/2026 05:36 AM, Janis Papanagnou wrote: >> On 2026-11-19 13:33, David Brown wrote: >>> >>> To the limited extent that his posts seemed clear to me, he had been >>> talking about the imaginary single language that compilers "treat as >>> being the same". It does not appear that he understands that they are >>> two different languages sharing a common subset, and that they are >>> often used in very different ways. So if he was clear, he was clearly >>> wrong. But maybe I (and others) have misunderstood him. It would be >>> helpful if he clarified things, and said that he now understands what >>> Keith and I wrote. Once we get on common ground, maybe we can move >>> forward. But I am not holding my breath. >> >> It may be that I've read past some "formally wrong" statements he made. >> It's that I usually try to understand what one wants to express beyond >> how it's actually formulated. - Maybe it's what (I think) Dan has once >> formulated; that it might distract the discussion if one isn't focused >> on the topic but more concerned about "exact" representation. - I think >> that observation is worthwhile to think about! - But I also know that >> some folks - you know who they are! - are now tempted to point out the >> very importance of exact representation. That's also not wrong but it's >> missing the point made.[*] >> >> Janis >> >> [*] I tried anticipating that point to prevent unnecessary replies. >> > > I'm a formalist, meaning, representation theory is part of model theory, > about language and interpretation. > > It's like this hypothetical sort of conversation for example. > > "Here's this project you'll be working on, here are the sources." > > "I see the identifiers are Pascal-style." > > "Yes, this code was long-ago first written in Pascal." > > "I see all these .c and .cpp files." > > "Yes, those are C and C++ sources." > > "Then, those are in the C language and the C++ language." > > "Yes, it's C/C++." > > "What do you call this?" > > "Windows." > > > > gcc -std=C11 | gcc -std=C++11 > > > "How about this one?" > > "Oh that's Linux, it was written all in C, yet recently they started > letting in this 'Rust', which has a very strange way of looking at > over-riding the declarations of identifiers and re-using them in > block-scope about the statement block. That's mostly due Google/Android > and making everything more polyglot so eventually > they'll fall under their LLVM/MLIR fiefdom to compile all this polyglotty." > > "Hm, what tooling am I going to need for that?" > > "Yeah I don't know, all we have here is gcc. Though, there is an > idea they're moving from C90 to C99 in 2026." > > > > > I'm a formalist, and accept and even invite correction: > Aristotle will not be made a fool, and Hegel will not be made a liar. > > > Then, "C/C++" is any code-base with both C and C++ sources, > which most accounts of systems-programming employing C++ include. > > "What are all these .cs files in the application/tool builds?" "Well you see there was this language including a model of the virtual machine called Java, which was originally for set-top television-boxes with ideas of a virtual layer above the hardware and both an account of memory-reclamation called the garbage collector and also an account of security-layer called the security manager, so that mis-behaved applications couldn't access system files and that simply-implemented accounts of scope & state in the runtime would have their resources cleaned up." "Yeah, so?" "So anyways this shop over here had a bunch of products called 'VB' and later 'VBA' that according to their component model called 'OLE' later 'OLE2' that morphed up to 'COM' and 'ActiveX' and 'DCOM' made for components in these systems, yet, that shop over there was making 'Java Beans' about things like 'CORBA', about the distributed-world of things, anyways these shops were eating each other's lunch. So, this shop over here basically decided to wrap up these ideas into something called a 'Common Language Runtime' which they sort of branded '.NET' which has a common sort of intermediate language for a virtual machine called 'IL' intermediate-language, then one of the dialects they worked up out of that was called 'C-sharp', besides some things like 'F-sharp', then basically glommed it all together, so basically you can expect that these .cs files are C#, and they act pretty much like Java." "So, ...." "So a bunch of the industry started requiring Java for everything because mostly since it was so well-designed the language overall and it had the account of strong-types then this memory-helper bit, and it was write-once-run-everywhere, then though with the advanced language features that got all bloated into framework and a bunch of different frameworks basically with this 'Spring' outfit sitting on top of 'Java', it's unavoidable in a bunch of different systems in the enterprise since these things." "Yeah so what." "Well you see then some people think easier (more easily) when the language doesn't make them speak 'correctly' according to the theory of strong types, then in the explosion of code all over the place, there were a bunch of accounts of languages and runtimes like JavaScript after Perl and Ruby and Python, these languages being interpreted instead of compiled to an intermediate representation for a virtual machine or compiled to machine code and objects that basically communicate with the system according to the calling conventions more than less designed for C, and all those then have various accounts of how they use C, except JavaScript, which mostly runs in the browser yet then later coders knowing that started to use it for processes themselves. Then a bunch of newer languages like Go since Ruby and Kotlin minimizing Java, Zig, that Rust again, pretty much compiling directly to the C or Java interfaces." "So, what's this then?" "Well, it pretty much resolves to C, ..., all these languages at least in part have "C-like syntax", if they're not making idioms for regular expressions or shell-script familiarity and these kinds of things, then they pretty much got their object-orientation from C++ instead of things like SmallTalk or then that Java was everywhere, so pretty much resolves to C++ with though the idiom of Java widely." "So, is this C/C++?" "Oh no, only C/C++ is C/C++." "How do we build all this stuff?" "Oh, you run it in the shell."
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Thu, 19 Nov 2026 16:27
Date: Thu, 19 Nov 2026 16:27
177 lines
9541 bytes
9541 bytes
On 11/19/2026 08:17 AM, Ross Finlayson wrote: > On 11/19/2026 07:14 AM, Ross Finlayson wrote: >> On 11/19/2026 05:36 AM, Janis Papanagnou wrote: >>> On 2026-11-19 13:33, David Brown wrote: >>>> >>>> To the limited extent that his posts seemed clear to me, he had been >>>> talking about the imaginary single language that compilers "treat as >>>> being the same". It does not appear that he understands that they are >>>> two different languages sharing a common subset, and that they are >>>> often used in very different ways. So if he was clear, he was clearly >>>> wrong. But maybe I (and others) have misunderstood him. It would be >>>> helpful if he clarified things, and said that he now understands what >>>> Keith and I wrote. Once we get on common ground, maybe we can move >>>> forward. But I am not holding my breath. >>> >>> It may be that I've read past some "formally wrong" statements he made. >>> It's that I usually try to understand what one wants to express beyond >>> how it's actually formulated. - Maybe it's what (I think) Dan has once >>> formulated; that it might distract the discussion if one isn't focused >>> on the topic but more concerned about "exact" representation. - I think >>> that observation is worthwhile to think about! - But I also know that >>> some folks - you know who they are! - are now tempted to point out the >>> very importance of exact representation. That's also not wrong but it's >>> missing the point made.[*] >>> >>> Janis >>> >>> [*] I tried anticipating that point to prevent unnecessary replies. >>> >> >> I'm a formalist, meaning, representation theory is part of model theory, >> about language and interpretation. >> >> It's like this hypothetical sort of conversation for example. >> >> "Here's this project you'll be working on, here are the sources." >> >> "I see the identifiers are Pascal-style." >> >> "Yes, this code was long-ago first written in Pascal." >> >> "I see all these .c and .cpp files." >> >> "Yes, those are C and C++ sources." >> >> "Then, those are in the C language and the C++ language." >> >> "Yes, it's C/C++." >> >> "What do you call this?" >> >> "Windows." >> >> >> >> gcc -std=C11 | gcc -std=C++11 >> >> >> "How about this one?" >> >> "Oh that's Linux, it was written all in C, yet recently they started >> letting in this 'Rust', which has a very strange way of looking at >> over-riding the declarations of identifiers and re-using them in >> block-scope about the statement block. That's mostly due Google/Android >> and making everything more polyglot so eventually >> they'll fall under their LLVM/MLIR fiefdom to compile all this >> polyglotty." >> >> "Hm, what tooling am I going to need for that?" >> >> "Yeah I don't know, all we have here is gcc. Though, there is an >> idea they're moving from C90 to C99 in 2026." >> >> >> >> >> I'm a formalist, and accept and even invite correction: >> Aristotle will not be made a fool, and Hegel will not be made a liar. >> >> >> Then, "C/C++" is any code-base with both C and C++ sources, >> which most accounts of systems-programming employing C++ include. >> >> > > > "What are all these .cs files in the application/tool builds?" > > "Well you see there was this language including a model of the > virtual machine called Java, which was originally for set-top > television-boxes with ideas of a virtual layer above the hardware > and both an account of memory-reclamation called the garbage collector > and also an account of security-layer called the security manager, > so that mis-behaved applications couldn't access system files and > that simply-implemented accounts of scope & state in the runtime > would have their resources cleaned up." > > > "Yeah, so?" > > "So anyways this shop over here had a bunch of products called > 'VB' and later 'VBA' that according to their component model > called 'OLE' later 'OLE2' that morphed up to 'COM' and 'ActiveX' > and 'DCOM' made for components in these systems, yet, that shop > over there was making 'Java Beans' about things like 'CORBA', > about the distributed-world of things, anyways these shops were > eating each other's lunch. So, this shop over here basically > decided to wrap up these ideas into something called a 'Common > Language Runtime' which they sort of branded '.NET' which has > a common sort of intermediate language for a virtual machine > called 'IL' intermediate-language, then one of the dialects > they worked up out of that was called 'C-sharp', besides some > things like 'F-sharp', then basically glommed it all together, > so basically you can expect that these .cs files are C#, > and they act pretty much like Java." > > > "So, ...." > > > "So a bunch of the industry started requiring Java for everything > because mostly since it was so well-designed the language overall > and it had the account of strong-types then this memory-helper bit, > and it was write-once-run-everywhere, then though with the advanced > language features that got all bloated into framework and a bunch > of different frameworks basically with this 'Spring' outfit sitting > on top of 'Java', it's unavoidable in a bunch of different systems > in the enterprise since these things." > > "Yeah so what." > > > "Well you see then some people think easier (more easily) when the > language doesn't make them speak 'correctly' according to the theory of > strong types, then in the explosion of code all over the place, there > were a bunch of accounts of languages and runtimes like JavaScript after > Perl and Ruby and Python, these languages being interpreted instead of > compiled to an intermediate representation for a virtual machine or > compiled to machine code and objects that basically communicate with the > system according to the calling conventions more than less designed for > C, and all those then have various accounts of how they use C, except > JavaScript, which mostly runs in the browser yet then later coders > knowing that started to use it for processes themselves. Then a bunch of > newer languages like Go since Ruby > and Kotlin minimizing Java, Zig, that Rust again, pretty much > compiling directly to the C or Java interfaces." > > > "So, what's this then?" > > "Well, it pretty much resolves to C, ..., all these languages at > least in part have "C-like syntax", if they're not making idioms > for regular expressions or shell-script familiarity and these kinds > of things, then they pretty much got their object-orientation from > C++ instead of things like SmallTalk or then that Java was everywhere, > so pretty much resolves to C++ with though the idiom of Java widely." > > > "So, is this C/C++?" > > "Oh no, only C/C++ is C/C++." > > > > "How do we build all this stuff?" > > "Oh, you run it in the shell." > > > "What's this m4 preprocessor?" "Oh, it's included in both C and C++ and runs before anything else."
Re: [meta] O tempora, o mores! (was Re: does an expression in a
Author: boltar
Date: Thu, 19 Nov 2026 16:34
Date: Thu, 19 Nov 2026 16:34
6 lines
2285 bytes
2285 bytes
On Thu, 19 Nov 2026 08:27:41 -0800 Ross Finlayson <ross.a.finlayson@gmail.com> gabbled: [More AI slop] I'm thinking of making a complaint to abuse@giganews.com about this.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Dan Cross
Date: Thu, 19 Nov 2026 17:22
Date: Thu, 19 Nov 2026 17:22
17 lines
1558 bytes
1558 bytes
In article <11dla8a$1p00u$2@kst.eternal-september.org>, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: >Ross Finlayson <ross.a.finlayson@gmail.com> writes: >[...] >> About Wittgenstein, people studying logic & history often >> arrive at the profundity of the "Tractatus Logicophilosophicus", >> which by its name is a worked-over work about logic and >philosophy. >[...] > >Please stop. If I may, I suspect the best way to get him to stop is to ignore.him. - Dan C.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Thu, 19 Nov 2026 19:31
Date: Thu, 19 Nov 2026 19:31
48 lines
4607 bytes
4607 bytes
On 19/11/2026 16:14, Ross Finlayson wrote: > On 11/19/2026 05:36 AM, Janis Papanagnou wrote: >> On 2026-11-19 13:33, David Brown wrote: >>> >>> To the limited extent that his posts seemed clear to me, he had been >>> talking about the imaginary single language that compilers "treat as >>> being the same". It does not appear that he understands that they are >>> two different languages sharing a common subset, and that they are >>> often used in very different ways. So if he was clear, he was clearly >>> wrong. But maybe I (and others) have misunderstood him. It would be >>> helpful if he clarified things, and said that he now understands what >>> Keith and I wrote. Once we get on common ground, maybe we can move >>> forward. But I am not holding my breath. >> >> It may be that I've read past some "formally wrong" statements he made. >> It's that I usually try to understand what one wants to express beyond >> how it's actually formulated. - Maybe it's what (I think) Dan has once >> formulated; that it might distract the discussion if one isn't focused >> on the topic but more concerned about "exact" representation. - I think >> that observation is worthwhile to think about! - But I also know that >> some folks - you know who they are! - are now tempted to point out the >> very importance of exact representation. That's also not wrong but it's >> missing the point made.[*] >> >> Janis >> >> [*] I tried anticipating that point to prevent unnecessary replies. >> > <snip pointless drivel> > > Then, "C/C++" is any code-base with both C and C++ sources, > which most accounts of systems-programming employing C++ include. > Why can you not just write that? One sentence, on two lines says what you mean when you write "C/C++". It is quite different from what you wrote before, but it is certainly the case that some projects have part of their code written in and compiled as C, and part of it written in and compiled as C++. It is quite common when you are making what is basically a C++ project, but using third-party code written in C. Whenever you feel the urge to reply to your own posts with more blather, AI slop, or imagined conversations, please resist that urge in the future.
Re: does an expression in a logical statement need parenthesis for proper evaluation?
Author: Chris M. Thomasson
Date: Thu, 19 Nov 2026 20:27
Date: Thu, 19 Nov 2026 20:27
26 lines
2976 bytes
2976 bytes
On 11/18/2026 6:22 PM, Lynn McGuire wrote: > On 11/18/2026 4:53 PM, Chris M. Thomasson wrote: > ... >>>>>>> All of my calculation software is currently Win32 DLLs so my >>>>>>> customers can easily use them for custom calculations. >>>>>> >>>>>> Well, that should work fine. Once they know the API, anybody >>>>>> should be able to use them. Iirc, it was a little strange to map >>>>>> DLL's created in C to the VB 6 data types. But, can be done for sure. >>>>> >>>>> VB6 SP5 IIRC. >>>> >>>> Nice. I think I still have a CD with a SP3. Going from VB to Win32 >>>> and back can be done, but its always felt odd to me. >>> >>> I do not even have VB6 on my current Win 11 system. I do have it on >>> my Win 7 system behind me. >>> >> The little shit can run in dosbox. I had it on winnt, me and xp back >> in the day. I still have some legacy boxes, pentium 4's iirc, that >> have my old home/pool inspection system still running. > > VB6 is a 32 bit Windows program. I highly doubt that it will run in > DosBox. Maybe VB5 is a Win16 program? Sure it (VB6) can. You can install say, winme, or whatever on a hd image in dosbox... Boot it up. Install VB6. Create a hello world program, run it.
Re: does an expression in a logical statement need parenthesis for proper evaluation?
Author: Chris M. Thomasson
Date: Thu, 19 Nov 2026 20:31
Date: Thu, 19 Nov 2026 20:31
33 lines
3247 bytes
3247 bytes
On 11/19/2026 12:27 PM, Chris M. Thomasson wrote: > On 11/18/2026 6:22 PM, Lynn McGuire wrote: >> On 11/18/2026 4:53 PM, Chris M. Thomasson wrote: >> ... >>>>>>>> All of my calculation software is currently Win32 DLLs so my >>>>>>>> customers can easily use them for custom calculations. >>>>>>> >>>>>>> Well, that should work fine. Once they know the API, anybody >>>>>>> should be able to use them. Iirc, it was a little strange to map >>>>>>> DLL's created in C to the VB 6 data types. But, can be done for >>>>>>> sure. >>>>>> >>>>>> VB6 SP5 IIRC. >>>>> >>>>> Nice. I think I still have a CD with a SP3. Going from VB to Win32 >>>>> and back can be done, but its always felt odd to me. >>>> >>>> I do not even have VB6 on my current Win 11 system. I do have it on >>>> my Win 7 system behind me. >>>> >>> The little shit can run in dosbox. I had it on winnt, me and xp back >>> in the day. I still have some legacy boxes, pentium 4's iirc, that >>> have my old home/pool inspection system still running. >> >> VB6 is a 32 bit Windows program. I highly doubt that it will run in >> DosBox. Maybe VB5 is a Win16 program? > Sure it (VB6) can. You can install say, winxp, or whatever on a hd image > in dosbox... Boot it up. Install VB6. Create a hello world program, run it. DOH! I was referring DosBox-X. Sorry about any confusion I have caused. Sigh... However, I think one can install winme on dosbox as well...
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Keith Thompson
Date: Thu, 19 Nov 2026 21:53
Date: Thu, 19 Nov 2026 21:53
15 lines
2629 bytes
2629 bytes
David Brown <david.brown@hesbynett.no> writes:
[...]
> For example, it does not
> matter if they refer to a constant 1234 as an "integer literal" (the
> term in C23 and C++, IIRC), an "integer constant" (the term in C prior
> to C23), or non-standard but obvious terms like a "literal int" or
> "explicit integer in the source code".
[...]
C23 still uses "integer constant". The C2y drafts change that to
"integer literal".
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Thu, 19 Nov 2026 22:36
Date: Thu, 19 Nov 2026 22:36
54 lines
3641 bytes
3641 bytes
On 11/19/2026 09:22 AM, Dan Cross wrote: > In article <11dla8a$1p00u$2@kst.eternal-september.org>, > Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: >> Ross Finlayson <ross.a.finlayson@gmail.com> writes: >> [...] >>> About Wittgenstein, people studying logic & history often >>> arrive at the profundity of the "Tractatus Logicophilosophicus", >>> which by its name is a worked-over work about logic and >> philosophy. >> [...] >> >> Please stop. > > If I may, I suspect the best way to get him to stop is to > ignore.him. > > - Dan C. > You certainly may. (Not that it's for me to say.) A guy asks "Inversion-of-control and dependency-injection in C", then starts asking about module boundaries and library design and the "componentry" for, ..., modules, composable libraries, and, you know, modules, for accounts like "how is C code tested, anyways", then offers accounts like: well you start with the globals on down and make accounts of how processes and threads have those in scope and an account for C to make for "function overloading" with "type safety" in the language, then people too busy or distracted to read say they won't, and it's like: they're still the same questions. So, looking for answers, then gets into things like: co-variant return types, which almost always are just after unpacking a holder for the the return type or a fault, or status/headers/payload and the like, polymorphic types, for example any of various accounts after vtables yet anyways otherwise according to a block of functions in C, so, function-overloading, that C's implementations of _types_ already has its own strong account, yet to be hiding indirection and making a model of module boundaries that maps naturally to an account like where exception-modeling is considered a feature and even required instead of a nuisance, and these sorts of things, that they're usual concerns just like anbody else's. "If I may", ....
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Fri, 20 Nov 2026 07:40
Date: Fri, 20 Nov 2026 07:40
16 lines
2752 bytes
2752 bytes
On 19/11/2026 22:53, Keith Thompson wrote: > David Brown <david.brown@hesbynett.no> writes: > [...] >> For example, it does not >> matter if they refer to a constant 1234 as an "integer literal" (the >> term in C23 and C++, IIRC), an "integer constant" (the term in C prior >> to C23), or non-standard but obvious terms like a "literal int" or >> "explicit integer in the source code". > [...] > > C23 still uses "integer constant". The C2y drafts change that to > "integer literal". > Thanks for the correction.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Chris M. Thomasson
Date: Sat, 21 Nov 2026 00:49
Date: Sat, 21 Nov 2026 00:49
19 lines
2925 bytes
2925 bytes
On 11/19/2026 11:40 PM, David Brown wrote: > On 19/11/2026 22:53, Keith Thompson wrote: >> David Brown <david.brown@hesbynett.no> writes: >> [...] >>>                                             For example, it does not >>> matter if they refer to a constant 1234 as an "integer literal" (the >>> term in C23 and C++, IIRC), an "integer constant" (the term in C prior >>> to C23), or non-standard but obvious terms like a "literal int" or >>> "explicit integer in the source code". >> [...] >> >> C23 still uses "integer constant". The C2y drafts change that to >> "integer literal". >> > > Thanks for the correction. > This is one reason why you are a good person.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Sat, 21 Nov 2026 11:30
Date: Sat, 21 Nov 2026 11:30
28 lines
3409 bytes
3409 bytes
On 21/11/2026 01:49, Chris M. Thomasson wrote: > On 11/19/2026 11:40 PM, David Brown wrote: >> On 19/11/2026 22:53, Keith Thompson wrote: >>> David Brown <david.brown@hesbynett.no> writes: >>> [...] >>>>                                             For example, it does not >>>> matter if they refer to a constant 1234 as an "integer literal" (the >>>> term in C23 and C++, IIRC), an "integer constant" (the term in C prior >>>> to C23), or non-standard but obvious terms like a "literal int" or >>>> "explicit integer in the source code". >>> [...] >>> >>> C23 still uses "integer constant". The C2y drafts change that to >>> "integer literal". >>> >> >> Thanks for the correction. >> > > This is one reason why you are a good person. It's just facts - you don't need to be a good person to accept that you've made an indisputable mistake! I appreciate the sentiment, but I think the post shows more why Keith (and others who would surely have corrected me if he hadn't got there first) is an indispensable regular in these groups. Getting the facts right means we have a basis for discussing techniques, ideas, opinions, styles, etc.
Re: does an expression in a logical statement need parenthesis for proper evaluation?
Author: Tristan Wibberley
Date: Sat, 21 Nov 2026 12:48
Date: Sat, 21 Nov 2026 12:48
32 lines
3320 bytes
3320 bytes
On 15/11/2026 12:09, David Brown wrote: > As I said, there is no benefit in using bitwise operators when logical > operators are appropriate. Thank you for reasserting your authority. It is worthless in the effort to stop me from recounting accurate truths based around the fact that, extensionally, bitwise operators are SIMD logical operators in which '&' consequently has a special utility in dimension reduction (selecting one of the multiple data using a mask, for instance) and in which '!' serves as negation with dimension reduction in the special case that only bit 0 is needed (SISD). Also that the "logical operators" are actually conditional sequencing operators being merely logical in special cases because of their conditional aspect, and that each has side-effect benefits as I described making even bitwise operators a better choice for logic sometimes. You probably got used to the conditional sequencing operators because you're so used to doing things with side-effects and the people who kept the SIMD logic in mind stopped interacting here. -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Re: does an expression in a logical statement need parenthesis for proper evaluation?
Author: David Brown
Date: Sat, 21 Nov 2026 14:06
Date: Sat, 21 Nov 2026 14:06
45 lines
3811 bytes
3811 bytes
On 21/11/2026 13:48, Tristan Wibberley wrote: > On 15/11/2026 12:09, David Brown wrote: >> As I said, there is no benefit in using bitwise operators when logical >> operators are appropriate. > > Thank you for reasserting your authority. It is worthless in the effort > to stop me from recounting accurate truths based around the fact that, > extensionally, bitwise operators are SIMD logical operators in which '&' > consequently has a special utility in dimension reduction (selecting one > of the multiple data using a mask, for instance) and in which '!' serves > as negation with dimension reduction in the special case that only bit 0 > is needed (SISD). Also that the "logical operators" are actually > conditional sequencing operators being merely logical in special cases > because of their conditional aspect, and that each has side-effect > benefits as I described making even bitwise operators a better choice > for logic sometimes. > Logical operators are not directly suitable for SIMD, whereas bitwise operators obviously can be used for "anding" and "oring" multiple bits in parallel. There was no indication that SIMD operations were remotely relevant to the discussion, which was about logic operations on booleans and/or 0/1 int values resulting from relational operators. Such evaluations can rarely be handled with parallel SIMD operations without significant re-arrangements. Of course if you have calculations that can be re-arranged to be SIMD friendly, auto-vectorised or manually handled, and you are running on targets with SIMD and the code can benefit significantly from the speedup, then you should re-write the code to take advantage of that. Otherwise do logical operations using logic operators, and bitwise operations using bitwise operators. > You probably got used to the conditional sequencing operators because > you're so used to doing things with side-effects and the people who kept > the SIMD logic in mind stopped interacting here. > You probably haven't the faintest idea what I am "used to". I am not at all clear why you seem to be trying to turn a discussion into a conflict. But maybe we should leave it be.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Chris M. Thomasson
Date: Sat, 21 Nov 2026 22:32
Date: Sat, 21 Nov 2026 22:32
38 lines
3693 bytes
3693 bytes
On 11/21/2026 3:30 AM, David Brown wrote: > On 21/11/2026 01:49, Chris M. Thomasson wrote: >> On 11/19/2026 11:40 PM, David Brown wrote: >>> On 19/11/2026 22:53, Keith Thompson wrote: >>>> David Brown <david.brown@hesbynett.no> writes: >>>> [...] >>>>>                                             For example, it does not >>>>> matter if they refer to a constant 1234 as an "integer literal" (the >>>>> term in C23 and C++, IIRC), an "integer constant" (the term in C prior >>>>> to C23), or non-standard but obvious terms like a "literal int" or >>>>> "explicit integer in the source code". >>>> [...] >>>> >>>> C23 still uses "integer constant". The C2y drafts change that to >>>> "integer literal". >>>> >>> >>> Thanks for the correction. >>> >> >> This is one reason why you are a good person. > > It's just facts - you don't need to be a good person to accept that > you've made an indisputable mistake! Why do some people get extremely pissed off when somebody points out a mistake in their work? > I appreciate the sentiment, but I > think the post shows more why Keith (and others who would surely have > corrected me if he hadn't got there first) is an indispensable regular > in these groups. Getting the facts right means we have a basis for > discussing techniques, ideas, opinions, styles, etc. > Still, you did not start cursing and shi%! :^)
Re: [meta] O tempora, o mores! (was Re: does an expression in a
Author: boltar
Date: Sun, 22 Nov 2026 08:23
Date: Sun, 22 Nov 2026 08:23
11 lines
2404 bytes
2404 bytes
On Sat, 21 Nov 2026 14:32:47 -0800 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 11/21/2026 3:30 AM, David Brown wrote: >> It's just facts - you don't need to be a good person to accept that >> you've made an indisputable mistake! > >Why do some people get extremely pissed off when somebody points out a >mistake in their work? Big ego, thin skin.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: David Brown
Date: Sun, 22 Nov 2026 11:03
Date: Sun, 22 Nov 2026 11:03
47 lines
4412 bytes
4412 bytes
On 21/11/2026 23:32, Chris M. Thomasson wrote: > On 11/21/2026 3:30 AM, David Brown wrote: >> On 21/11/2026 01:49, Chris M. Thomasson wrote: >>> On 11/19/2026 11:40 PM, David Brown wrote: >>>> On 19/11/2026 22:53, Keith Thompson wrote: >>>>> David Brown <david.brown@hesbynett.no> writes: >>>>> [...] >>>>>>                                             For example, it does not >>>>>> matter if they refer to a constant 1234 as an "integer literal" (the >>>>>> term in C23 and C++, IIRC), an "integer constant" (the term in C >>>>>> prior >>>>>> to C23), or non-standard but obvious terms like a "literal int" or >>>>>> "explicit integer in the source code". >>>>> [...] >>>>> >>>>> C23 still uses "integer constant". The C2y drafts change that to >>>>> "integer literal". >>>>> >>>> >>>> Thanks for the correction. >>>> >>> >>> This is one reason why you are a good person. >> >> It's just facts - you don't need to be a good person to accept that >> you've made an indisputable mistake! > > Why do some people get extremely pissed off when somebody points out a > mistake in their work? > I suppose it is often that what counts as a "mistake" can be subjective. Most things don't have a simple black-or-white distinction between "right" and "wrong". For a factual error like this, however, the only person I could be pissed off at is myself - /I/ made the mistake. But while I can certainly get frustrated with my own mistakes, something like this is easy done, and easily fixed. If I made such errors regularly, and regularly got corrected for them, then I'd take that as a sign that I need to check more before posting - not a sign to get annoyed at the people correcting me. Sometimes, however, corrections like this can distract too much from the subject under discussion. It is annoying if you have put a lot of effort into a post that you think is useful or interesting, and all you get in reply is a correction of a minor detail. This thread branch has long ago ceased to be particularly useful or interesting, so no risk there!
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Sun, 22 Nov 2026 16:50
Date: Sun, 22 Nov 2026 16:50
85 lines
6367 bytes
6367 bytes
On 11/22/2026 03:03 AM, David Brown wrote: > On 21/11/2026 23:32, Chris M. Thomasson wrote: >> On 11/21/2026 3:30 AM, David Brown wrote: >>> On 21/11/2026 01:49, Chris M. Thomasson wrote: >>>> On 11/19/2026 11:40 PM, David Brown wrote: >>>>> On 19/11/2026 22:53, Keith Thompson wrote: >>>>>> David Brown <david.brown@hesbynett.no> writes: >>>>>> [...] >>>>>>> For example, it does >>>>>>> not >>>>>>> matter if they refer to a constant 1234 as an "integer literal" (the >>>>>>> term in C23 and C++, IIRC), an "integer constant" (the term in C >>>>>>> prior >>>>>>> to C23), or non-standard but obvious terms like a "literal int" or >>>>>>> "explicit integer in the source code". >>>>>> [...] >>>>>> >>>>>> C23 still uses "integer constant". The C2y drafts change that to >>>>>> "integer literal". >>>>>> >>>>> >>>>> Thanks for the correction. >>>>> >>>> >>>> This is one reason why you are a good person. >>> >>> It's just facts - you don't need to be a good person to accept that >>> you've made an indisputable mistake! >> >> Why do some people get extremely pissed off when somebody points out a >> mistake in their work? >> > > I suppose it is often that what counts as a "mistake" can be subjective. > Most things don't have a simple black-or-white distinction between > "right" and "wrong". For a factual error like this, however, the only > person I could be pissed off at is myself - /I/ made the mistake. But > while I can certainly get frustrated with my own mistakes, something > like this is easy done, and easily fixed. If I made such errors > regularly, and regularly got corrected for them, then I'd take that as a > sign that I need to check more before posting - not a sign to get > annoyed at the people correcting me. > > Sometimes, however, corrections like this can distract too much from the > subject under discussion. It is annoying if you have put a lot of > effort into a post that you think is useful or interesting, and all you > get in reply is a correction of a minor detail. This thread branch has > long ago ceased to be particularly useful or interesting, so no risk there! > Tabs or spaces? Here it's mostly 4-indent spaces, since when there are tabs and spaces then inevitably someone will paste tabs that they think look like spaces, where whitespace is insignificant in usual languages with punctuation for syntax, where though that languages like "Python" or data-formats like "Yaml" where nesting is indentation after statements are always one-liners, those are often enough "opinions". The "strongly-opinionated" is a usual account, about the fallacy of infallibility, here that the "fallacy of infallibility", is about that some people have a hard time with criticism since if they're wrong at all then they lose their un-challenged authority. I imagine it's different for sensitive-sorts or the ones where their "copers" are fragile, if hopefully functional, coping with difficulty, coping with challenge, overloaded copers. "Power trippers" and "control freaks" though, those are more basically fallacious about a "fallacy in infalliblity", which applies to empirical reasoning directly its account of weakness. Then, sometimes it's two-spaces in data or structs then four-spaces in code, about readability, yet that's not configurable then that for the editor, many have gone to two-spaces, yet, oncely it was more than less standard that tab-stops were also 8-spaces, yet mostly these days it's not 8-spaces to tabs instead of spaces stick out, then often there are "code formatters" after rules for "code style" that enforce whitespace characters for example in code review or according to the IDE, yet here it's so that anybody who checks in their IDE settings gets added to .gitignore and those deleted.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Sun, 22 Nov 2026 17:04
Date: Sun, 22 Nov 2026 17:04
121 lines
7938 bytes
7938 bytes
On 11/22/2026 08:50 AM, Ross Finlayson wrote: > On 11/22/2026 03:03 AM, David Brown wrote: >> On 21/11/2026 23:32, Chris M. Thomasson wrote: >>> On 11/21/2026 3:30 AM, David Brown wrote: >>>> On 21/11/2026 01:49, Chris M. Thomasson wrote: >>>>> On 11/19/2026 11:40 PM, David Brown wrote: >>>>>> On 19/11/2026 22:53, Keith Thompson wrote: >>>>>>> David Brown <david.brown@hesbynett.no> writes: >>>>>>> [...] >>>>>>>> For example, it does >>>>>>>> not >>>>>>>> matter if they refer to a constant 1234 as an "integer literal" >>>>>>>> (the >>>>>>>> term in C23 and C++, IIRC), an "integer constant" (the term in C >>>>>>>> prior >>>>>>>> to C23), or non-standard but obvious terms like a "literal int" or >>>>>>>> "explicit integer in the source code". >>>>>>> [...] >>>>>>> >>>>>>> C23 still uses "integer constant". The C2y drafts change that to >>>>>>> "integer literal". >>>>>>> >>>>>> >>>>>> Thanks for the correction. >>>>>> >>>>> >>>>> This is one reason why you are a good person. >>>> >>>> It's just facts - you don't need to be a good person to accept that >>>> you've made an indisputable mistake! >>> >>> Why do some people get extremely pissed off when somebody points out a >>> mistake in their work? >>> >> >> I suppose it is often that what counts as a "mistake" can be subjective. >> Most things don't have a simple black-or-white distinction between >> "right" and "wrong". For a factual error like this, however, the only >> person I could be pissed off at is myself - /I/ made the mistake. But >> while I can certainly get frustrated with my own mistakes, something >> like this is easy done, and easily fixed. If I made such errors >> regularly, and regularly got corrected for them, then I'd take that as a >> sign that I need to check more before posting - not a sign to get >> annoyed at the people correcting me. >> >> Sometimes, however, corrections like this can distract too much from the >> subject under discussion. It is annoying if you have put a lot of >> effort into a post that you think is useful or interesting, and all you >> get in reply is a correction of a minor detail. This thread branch has >> long ago ceased to be particularly useful or interesting, so no risk >> there! >> > > > Tabs or spaces? > > Here it's mostly 4-indent spaces, since when there are tabs and spaces > then inevitably someone will paste tabs that they think look like > spaces, where whitespace is insignificant in usual languages with > punctuation for syntax, where though that languages like "Python" > or data-formats like "Yaml" where nesting is indentation after > statements are always one-liners, those are often enough "opinions". > > The "strongly-opinionated" is a usual account, about the fallacy of > infallibility, here that the "fallacy of infallibility", is about > that some people have a hard time with criticism since if they're > wrong at all then they lose their un-challenged authority. > > I imagine it's different for sensitive-sorts or the ones where > their "copers" are fragile, if hopefully functional, coping with > difficulty, coping with challenge, overloaded copers. > > "Power trippers" and "control freaks" though, those are more > basically fallacious about a "fallacy in infalliblity", which > applies to empirical reasoning directly its account of weakness. > > > Then, sometimes it's two-spaces in data or structs then four-spaces > in code, about readability, yet that's not configurable then that > for the editor, many have gone to two-spaces, yet, oncely it was > more than less standard that tab-stops were also 8-spaces, yet > mostly these days it's not 8-spaces to tabs instead of spaces stick > out, then often there are "code formatters" after rules for "code style" > that enforce whitespace characters for example in code review or > according to the IDE, yet here it's so that anybody who checks > in their IDE settings gets added to .gitignore and those deleted. > > I think we can remember that once-upon-a-time that Google-style was "tabs" not "spaces", since it mostly followed "Java-style" since "K & R style", then that Google got all opinionated and "2-space indent the everything". Here it's mostly after Java-style though there's pretty much a compatible subset, though Java-style also was once "tabs not spaces", here though that it's only in recent years the formatting: "if the signature has more than two parameters, break them out into lines", which now much of the formatters (or "pretty-printers") will support. Then, for example there's "blank line at the end of a file or no blank line", for example Java-style has "no trailing line", here it's that the files always have a trailing empty line, then that for accounts like "cat all the files" that they're not ellided. We have "dotfiles" for that. I think "long-lines" are for people who only read one line at a time, while "bracketed blocks" are for people who read files at a time, basically "horizontal monitors" versus "vertical monitors", since I think we can all remember when the "Radius" monitor swiveled among aspect-ratios. (I'm a "vertical monitor" type, yet, whatever works, terminal runs in whatever just fine since "VT100", though, most will aver that xterm then xterm-256color are ergonomic.) Anyways the "fallacy of infallibility" is why the most eruptive rejections of criticism occur.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Sun, 22 Nov 2026 17:24
Date: Sun, 22 Nov 2026 17:24
155 lines
9793 bytes
9793 bytes
On 11/22/2026 09:04 AM, Ross Finlayson wrote: > On 11/22/2026 08:50 AM, Ross Finlayson wrote: >> On 11/22/2026 03:03 AM, David Brown wrote: >>> On 21/11/2026 23:32, Chris M. Thomasson wrote: >>>> On 11/21/2026 3:30 AM, David Brown wrote: >>>>> On 21/11/2026 01:49, Chris M. Thomasson wrote: >>>>>> On 11/19/2026 11:40 PM, David Brown wrote: >>>>>>> On 19/11/2026 22:53, Keith Thompson wrote: >>>>>>>> David Brown <david.brown@hesbynett.no> writes: >>>>>>>> [...] >>>>>>>>> For example, it does >>>>>>>>> not >>>>>>>>> matter if they refer to a constant 1234 as an "integer literal" >>>>>>>>> (the >>>>>>>>> term in C23 and C++, IIRC), an "integer constant" (the term in C >>>>>>>>> prior >>>>>>>>> to C23), or non-standard but obvious terms like a "literal int" or >>>>>>>>> "explicit integer in the source code". >>>>>>>> [...] >>>>>>>> >>>>>>>> C23 still uses "integer constant". The C2y drafts change that to >>>>>>>> "integer literal". >>>>>>>> >>>>>>> >>>>>>> Thanks for the correction. >>>>>>> >>>>>> >>>>>> This is one reason why you are a good person. >>>>> >>>>> It's just facts - you don't need to be a good person to accept that >>>>> you've made an indisputable mistake! >>>> >>>> Why do some people get extremely pissed off when somebody points out a >>>> mistake in their work? >>>> >>> >>> I suppose it is often that what counts as a "mistake" can be subjective. >>> Most things don't have a simple black-or-white distinction between >>> "right" and "wrong". For a factual error like this, however, the only >>> person I could be pissed off at is myself - /I/ made the mistake. But >>> while I can certainly get frustrated with my own mistakes, something >>> like this is easy done, and easily fixed. If I made such errors >>> regularly, and regularly got corrected for them, then I'd take that as a >>> sign that I need to check more before posting - not a sign to get >>> annoyed at the people correcting me. >>> >>> Sometimes, however, corrections like this can distract too much from the >>> subject under discussion. It is annoying if you have put a lot of >>> effort into a post that you think is useful or interesting, and all you >>> get in reply is a correction of a minor detail. This thread branch has >>> long ago ceased to be particularly useful or interesting, so no risk >>> there! >>> >> >> >> Tabs or spaces? >> >> Here it's mostly 4-indent spaces, since when there are tabs and spaces >> then inevitably someone will paste tabs that they think look like >> spaces, where whitespace is insignificant in usual languages with >> punctuation for syntax, where though that languages like "Python" >> or data-formats like "Yaml" where nesting is indentation after >> statements are always one-liners, those are often enough "opinions". >> >> The "strongly-opinionated" is a usual account, about the fallacy of >> infallibility, here that the "fallacy of infallibility", is about >> that some people have a hard time with criticism since if they're >> wrong at all then they lose their un-challenged authority. >> >> I imagine it's different for sensitive-sorts or the ones where >> their "copers" are fragile, if hopefully functional, coping with >> difficulty, coping with challenge, overloaded copers. >> >> "Power trippers" and "control freaks" though, those are more >> basically fallacious about a "fallacy in infalliblity", which >> applies to empirical reasoning directly its account of weakness. >> >> >> Then, sometimes it's two-spaces in data or structs then four-spaces >> in code, about readability, yet that's not configurable then that >> for the editor, many have gone to two-spaces, yet, oncely it was >> more than less standard that tab-stops were also 8-spaces, yet >> mostly these days it's not 8-spaces to tabs instead of spaces stick >> out, then often there are "code formatters" after rules for "code style" >> that enforce whitespace characters for example in code review or >> according to the IDE, yet here it's so that anybody who checks >> in their IDE settings gets added to .gitignore and those deleted. >> >> > > I think we can remember that once-upon-a-time that Google-style > was "tabs" not "spaces", since it mostly followed "Java-style" > since "K & R style", then that Google got all opinionated and > "2-space indent the everything". Here it's mostly after Java-style > though there's pretty much a compatible subset, though Java-style > also was once "tabs not spaces", here though that it's only in > recent years the formatting: "if the signature has more than > two parameters, break them out into lines", which now much of > the formatters (or "pretty-printers") will support. Then, > for example there's "blank line at the end of a file or no blank line", > for example Java-style has "no trailing line", here it's that > the files always have a trailing empty line, then that for > accounts like "cat all the files" that they're not ellided. > > We have "dotfiles" for that. > > I think "long-lines" are for people who only read one line > at a time, while "bracketed blocks" are for people who read > files at a time, basically "horizontal monitors" versus > "vertical monitors", since I think we can all remember > when the "Radius" monitor swiveled among aspect-ratios. > > (I'm a "vertical monitor" type, yet, whatever works, > terminal runs in whatever just fine since "VT100", > though, most will aver that xterm then xterm-256color > are ergonomic.) > > > Anyways the "fallacy of infallibility" is why the > most eruptive rejections of criticism occur. > > The "Markdown" format is very popular these days, much because as a document format that polyglot-prettyprinters make syntax-highlighting and code snippets and otherwise a model of hypertext and shell integration, addressing several audiences, that it's opinionated and considered nicely-opinionated, while yet it's plain text, where for example in settings like these or "old fashioned Internet messages", vis-a-vis "document formats" of any sort, like since DocBook, or various accounts of professional typesetting since things like PostScript after Linotype and TeX and the like, about Postscript/Laserjet/TrueType/OpenType fonts and so on, and document flow and usual accounts like HTML's account of hyper-text, these sorts of common denominators like "the project builds from the shell" vis-a-vis "the build lifecycle" and "keep your grubby plugins out of the build, or, pick one", vis-a-vis things like "schema-driven generation" and the like, anyways everybody knows that only plain-text files go in the repo else there are "large files" for that. Among reasons why there are strong opinions about plain-text is that for example PostScript is Turing-complete and not including usual accounts of well-known bugs in input validation like "the Freddy Krueger GIF" that black-screened usual libraries, for example when libtiff had a vuln, vis-a-vis less well-known accounts of XML and XSD things like "SMIL" and so on which are considered nefarious and surreptitious vulnerability-through-obscurity. Anyways the easiest way to upset a control freak is prove them wrong.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Sun, 22 Nov 2026 17:42
Date: Sun, 22 Nov 2026 17:42
206 lines
12147 bytes
12147 bytes
On 11/22/2026 09:24 AM, Ross Finlayson wrote: > On 11/22/2026 09:04 AM, Ross Finlayson wrote: >> On 11/22/2026 08:50 AM, Ross Finlayson wrote: >>> On 11/22/2026 03:03 AM, David Brown wrote: >>>> On 21/11/2026 23:32, Chris M. Thomasson wrote: >>>>> On 11/21/2026 3:30 AM, David Brown wrote: >>>>>> On 21/11/2026 01:49, Chris M. Thomasson wrote: >>>>>>> On 11/19/2026 11:40 PM, David Brown wrote: >>>>>>>> On 19/11/2026 22:53, Keith Thompson wrote: >>>>>>>>> David Brown <david.brown@hesbynett.no> writes: >>>>>>>>> [...] >>>>>>>>>> For example, it does >>>>>>>>>> not >>>>>>>>>> matter if they refer to a constant 1234 as an "integer literal" >>>>>>>>>> (the >>>>>>>>>> term in C23 and C++, IIRC), an "integer constant" (the term in C >>>>>>>>>> prior >>>>>>>>>> to C23), or non-standard but obvious terms like a "literal >>>>>>>>>> int" or >>>>>>>>>> "explicit integer in the source code". >>>>>>>>> [...] >>>>>>>>> >>>>>>>>> C23 still uses "integer constant". The C2y drafts change that to >>>>>>>>> "integer literal". >>>>>>>>> >>>>>>>> >>>>>>>> Thanks for the correction. >>>>>>>> >>>>>>> >>>>>>> This is one reason why you are a good person. >>>>>> >>>>>> It's just facts - you don't need to be a good person to accept that >>>>>> you've made an indisputable mistake! >>>>> >>>>> Why do some people get extremely pissed off when somebody points out a >>>>> mistake in their work? >>>>> >>>> >>>> I suppose it is often that what counts as a "mistake" can be >>>> subjective. >>>> Most things don't have a simple black-or-white distinction between >>>> "right" and "wrong". For a factual error like this, however, the only >>>> person I could be pissed off at is myself - /I/ made the mistake. But >>>> while I can certainly get frustrated with my own mistakes, something >>>> like this is easy done, and easily fixed. If I made such errors >>>> regularly, and regularly got corrected for them, then I'd take that >>>> as a >>>> sign that I need to check more before posting - not a sign to get >>>> annoyed at the people correcting me. >>>> >>>> Sometimes, however, corrections like this can distract too much from >>>> the >>>> subject under discussion. It is annoying if you have put a lot of >>>> effort into a post that you think is useful or interesting, and all you >>>> get in reply is a correction of a minor detail. This thread branch has >>>> long ago ceased to be particularly useful or interesting, so no risk >>>> there! >>>> >>> >>> >>> Tabs or spaces? >>> >>> Here it's mostly 4-indent spaces, since when there are tabs and spaces >>> then inevitably someone will paste tabs that they think look like >>> spaces, where whitespace is insignificant in usual languages with >>> punctuation for syntax, where though that languages like "Python" >>> or data-formats like "Yaml" where nesting is indentation after >>> statements are always one-liners, those are often enough "opinions". >>> >>> The "strongly-opinionated" is a usual account, about the fallacy of >>> infallibility, here that the "fallacy of infallibility", is about >>> that some people have a hard time with criticism since if they're >>> wrong at all then they lose their un-challenged authority. >>> >>> I imagine it's different for sensitive-sorts or the ones where >>> their "copers" are fragile, if hopefully functional, coping with >>> difficulty, coping with challenge, overloaded copers. >>> >>> "Power trippers" and "control freaks" though, those are more >>> basically fallacious about a "fallacy in infalliblity", which >>> applies to empirical reasoning directly its account of weakness. >>> >>> >>> Then, sometimes it's two-spaces in data or structs then four-spaces >>> in code, about readability, yet that's not configurable then that >>> for the editor, many have gone to two-spaces, yet, oncely it was >>> more than less standard that tab-stops were also 8-spaces, yet >>> mostly these days it's not 8-spaces to tabs instead of spaces stick >>> out, then often there are "code formatters" after rules for "code style" >>> that enforce whitespace characters for example in code review or >>> according to the IDE, yet here it's so that anybody who checks >>> in their IDE settings gets added to .gitignore and those deleted. >>> >>> >> >> I think we can remember that once-upon-a-time that Google-style >> was "tabs" not "spaces", since it mostly followed "Java-style" >> since "K & R style", then that Google got all opinionated and >> "2-space indent the everything". Here it's mostly after Java-style >> though there's pretty much a compatible subset, though Java-style >> also was once "tabs not spaces", here though that it's only in >> recent years the formatting: "if the signature has more than >> two parameters, break them out into lines", which now much of >> the formatters (or "pretty-printers") will support. Then, >> for example there's "blank line at the end of a file or no blank line", >> for example Java-style has "no trailing line", here it's that >> the files always have a trailing empty line, then that for >> accounts like "cat all the files" that they're not ellided. >> >> We have "dotfiles" for that. >> >> I think "long-lines" are for people who only read one line >> at a time, while "bracketed blocks" are for people who read >> files at a time, basically "horizontal monitors" versus >> "vertical monitors", since I think we can all remember >> when the "Radius" monitor swiveled among aspect-ratios. >> >> (I'm a "vertical monitor" type, yet, whatever works, >> terminal runs in whatever just fine since "VT100", >> though, most will aver that xterm then xterm-256color >> are ergonomic.) >> >> >> Anyways the "fallacy of infallibility" is why the >> most eruptive rejections of criticism occur. >> >> > > > The "Markdown" format is very popular these days, > much because as a document format that polyglot-prettyprinters > make syntax-highlighting and code snippets and otherwise > a model of hypertext and shell integration, addressing > several audiences, that it's opinionated and considered > nicely-opinionated, while yet it's plain text, where for > example in settings like these or "old fashioned Internet messages", > vis-a-vis "document formats" of any sort, like since DocBook, > or various accounts of professional typesetting since things > like PostScript after Linotype and TeX and the like, > about Postscript/Laserjet/TrueType/OpenType fonts and so on, > and document flow and usual accounts like HTML's account > of hyper-text, these sorts of common denominators like > "the project builds from the shell" vis-a-vis "the build > lifecycle" and "keep your grubby plugins out of the build, > or, pick one", vis-a-vis things like "schema-driven generation" > and the like, anyways everybody knows that only plain-text > files go in the repo else there are "large files" for that. > > Among reasons why there are strong opinions about plain-text > is that for example PostScript is Turing-complete and not > including usual accounts of well-known bugs in input validation > like "the Freddy Krueger GIF" that black-screened usual libraries, > for example when libtiff had a vuln, vis-a-vis less well-known > accounts of XML and XSD things like "SMIL" and so on which > are considered nefarious and surreptitious vulnerability-through-obscurity. > > > Anyways the easiest way to upset a control freak is prove them wrong. > > You can tell someone's a great coder when they paste in code that has "curly quotes" in it, or, ..., what I mean by that is that accounts of people pasting in code, like for example that includes "vertical-tabs" from usual graphical shell copy-paste from usual document applications, that aren't plain text editors, which aren't legal before syntax even in the character-set, you can tell someone's at least not a poor coder when they have the experience to encounter that and it's not their first rodeo, vis-a-vis people who don't know the difference between a text-file and a document-format, and what happens when using the shell, which is a model of identity, session, and resources, like "explorer.exe" or "the finder", or usually here just "the shell" as after the account of interactive and non-interactive login the interactive shell, anyways .DS_Store is often added to .gitignore, next to backup files. The .gitignore is sort of an account of "tolerance" vis-a-vis "intolerance" of "opinion" vis-a-vis "non-opinion", then that it's naturally part of the protocol the tooling, about "tools" versus "plugins". Of course anybody who's been around picked up all these words long ago, about "trial & error", vis-a-vis "experiment", then for the "learning from one's own mistakes" vis-a-vis "learning from other's mistakes", about "strong opinions" and "nice things". For example, the usual account of the boy-in-the-bubble, has that his immune system is entirely protected: as long as he doesn't leave the bubble, or the rest of the world enter it. Then, when it's buried forty layers in the stack deep that somebody pasted in a vertical-tab via an input-method-editor, and the XML parser deep in the guts balked with bad-rows since they don't have input-validation, is usually enough for accounts like defensive programming (zero-trust for example), that architects are to thoroughly hide in the languages because users of variously the end-user and library-user and framework-user and integrator type can't be expected to know all the things. Users usually, ....
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Tristan Wibberley
Date: Sun, 22 Nov 2026 19:55
Date: Sun, 22 Nov 2026 19:55
38 lines
3030 bytes
3030 bytes
On 19/11/2026 17:22, Dan Cross wrote: > In article <11dla8a$1p00u$2@kst.eternal-september.org>, > Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: >> Ross Finlayson <ross.a.finlayson@gmail.com> writes: >> [...] >>> About Wittgenstein, people studying logic & history often >>> arrive at the profundity of the "Tractatus Logicophilosophicus", >>> which by its name is a worked-over work about logic and >> philosophy. >> [...] >> >> Please stop. > > If I may, I suspect the best way to get him to stop is to > ignore.him. > > - Dan C. > Of course, if the group applies control won't he demonstrate it to have been ineffective? Why would the group have begun to do it in the first place except for the bad faith of becoming his master? Who among the group needs to be his master this week to survive until the next when his posts are easily filtered? -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Polymorphism (Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper eval...
Author: Tristan Wibberley
Date: Sun, 22 Nov 2026 20:12
Date: Sun, 22 Nov 2026 20:12
34 lines
3182 bytes
3182 bytes
On 19/11/2026 22:36, Ross Finlayson wrote: > polymorphic types, for example any of various accounts after vtables yet > anyways otherwise according to a block of functions in C, so, > function-overloading, I suppose that concept name would be interpreted for C as it is for C++ due to the close relationship between the two (especially with your mention of vtables which has strong connotations of what people call "polymorphic types" vis-a-vis C++). However, that's not the only referent and there's a formal CS/mathsy one that admits no runtime variation. The procedure who's argument type is a so-called "polymorphic type" could be seen to be a polymorphic procedure but that seems to me to be more properly what a procedure template describes. How would readers of the groups characterise C++ so-called "runtime polymorphism" and that which C programmers would and have often done with vtables (GObject, for example), formally? -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Tristan Wibberley
Date: Sun, 22 Nov 2026 20:26
Date: Sun, 22 Nov 2026 20:26
30 lines
3236 bytes
3236 bytes
On 18/11/2026 08:44, Janis Papanagnou wrote: > The Usenet-Communication Market and time will fix all > discrepancies. Idiomatic arbitrage? > Only, please stop teaching adults! Ah, well, an example of that is your own post news:11djohu$s03n$5@dont-email.me (and this one of mine too!) it's inescapable if we want to be useful to each other, but "commanding" now that's another matter. I'm tempted to start commanding "NEVER COMMAND THE GROUP!" with the utmost irony. -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: James Kuyper
Date: Sun, 22 Nov 2026 20:33
Date: Sun, 22 Nov 2026 20:33
18 lines
2184 bytes
2184 bytes
On 2026-11-22 14:55, Tristan Wibberley wrote: > On 19/11/2026 17:22, Dan Cross wrote: ... >> If I may, I suspect the best way to get him to stop is to >> ignore.him. >> >> - Dan C. >> > > Of course, if the group applies control won't he demonstrate it to have > been ineffective? Why would the group have begun to do it in the first > place except for the bad faith of becoming his master? Who among the > group needs to be his master this week to survive until the next when > his posts are easily filtered? What's this nonsense about "control" and "master"? This is an unmoderated group - neither control nor mastery are possible. The most that anyone can do is ignore him.
Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
Author: Ross Finlayson
Date: Sun, 22 Nov 2026 23:48
Date: Sun, 22 Nov 2026 23:48
100 lines
6052 bytes
6052 bytes
On 11/22/2026 12:33 PM, James Kuyper wrote: > On 2026-11-22 14:55, Tristan Wibberley wrote: >> On 19/11/2026 17:22, Dan Cross wrote: > ... >>> If I may, I suspect the best way to get him to stop is to >>> ignore.him. >>> >>> - Dan C. >>> >> >> Of course, if the group applies control won't he demonstrate it to have >> been ineffective? Why would the group have begun to do it in the first >> place except for the bad faith of becoming his master? Who among the >> group needs to be his master this week to survive until the next when >> his posts are easily filtered? > > What's this nonsense about "control" and "master"? This is an > unmoderated group - neither control nor mastery are possible. The most > that anyone can do is ignore him. > Hm. One man's "carrot" is another man's "stick", and the stick can bring various reactions including aversion and retribution. That's not so relevant here except that "operant conditioning" like the wire-mother/soft-mother guy or Pavlov and his slobbering pups, or the pigeon-on-a-string, not to get into Acoustikitty or "Sirius" the fictional Algernon's Charlie's dog, or Sirius, doesn't work on symmetric, balanced, level playing fields. About ignoring things, it reminds me of a story. Yet, while opinions are cloaca, ravens have them, stories are like dribbles from a spout. So anyways one time somebody calls me up and says they need help so I'm looking at this sub-system or micro-service. The guy says, "well, I'm getting some bad-rows downstream because of input-validation and I don't get it, work on that why don't you". So I start looking at the micro-service has an error rate about 25%, after I load it in Docker and start spring-boot and get it running in about fifteen or twenty minutes after scanning all the source code and the like. So anyways it's got about a 25% error-rate according to the logs, and I mention this to guy and he's like "don't worry about that, those are spurious logs and don't mean anything". So, I start turning them off until the error rate is down to about 10%, and mention hey, these yet aren't spurious, and he says "don't work on those logs, all I need to report is what's the validation", and obviously I point out that getting it running is making for reproducing the problem. Then it works out that input was coming in the front-end pasted from Word and had vertical-tabs and that's not legal in XML where it was pasted together and fixing that fixed the problem. So, that being the job, with some time on the clock, then he said, "now I need a feature to add to this Firebase notification through this SaaS outfit these push notifications, adding one thing." And I'm like sure why not. So I get to looking at it and reading the fine manual or the API docs, and notice the entire thing is being called wrong and sending duplicates and making drops and otherwise thusly I just fixed that and then the error rate went way, way down. That was sort of a thing because it had been "in prod" for months and blamed on the vendor, who was sort of unresponsive. Then he was like "we need deployment tests like smoke tests, add some tests", so I'm like, great, I just made a reflective model of I/O or I/O/E (input, output, error) and an interceptor layer that captured traffic to play it, that in the blue/green deployment or as that's called later, smoke test, or a sort of dip test, it was given production traffic, then if it errored, it re-sent what it failed to handle back to real prod then to rollback the deployment while not losing. Then I showed this to people and they were like "wow, you don't even care what the APIs are, you just replay them after modeling the types down to reflection for 'runtime metaprogramming' and it does what you say." Then the guy was like "Thanks! Goodbye." Then he was like "did you write my tests?" and I was like "yeah, I did." I fixed the whole app. Of course all that code belongs to them, while code I write belongs to me. So, just because the vendor doesn't respond to the error rate in your problem, doesn't mean he got your complaint. Have you tried plugging it back in, .... Also, "Dunning-Kruger" should be invoked very sparingly - since the best of the best stand out from the rest.
Re: Polymorphism (Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper ...
Author: Ross Finlayson
Date: Mon, 23 Nov 2026 00:17
Date: Mon, 23 Nov 2026 00:17
78 lines
5566 bytes
5566 bytes
On 11/22/2026 12:12 PM, Tristan Wibberley wrote: > On 19/11/2026 22:36, Ross Finlayson wrote: > >> polymorphic types, for example any of various accounts after vtables yet >> anyways otherwise according to a block of functions in C, so, >> function-overloading, > > I suppose that concept name would be interpreted for C as it is for C++ > due to the close relationship between the two (especially with your > mention of vtables which has strong connotations of what people call > "polymorphic types" vis-a-vis C++). > > However, that's not the only referent and there's a formal CS/mathsy one > that admits no runtime variation. The procedure who's argument type is a > so-called "polymorphic type" could be seen to be a polymorphic procedure > but that seems to me to be more properly what a procedure template > describes. > > How would readers of the groups characterise C++ so-called "runtime > polymorphism" and that which C programmers would and have often done > with vtables (GObject, for example), formally? > > Hello. Tristan, this was sort of being bandied-about in the "Inversion-of-control and dependency-injection in C", about accounts like there's how vtables do it, there's how usually enough it's just a context-pointer of function-pointers, which is much alike if less involved than the composition of vtables, then there's how "Go" and "Rust" do it, which is a bit less involved, there are "tagged unions" or "tagged structs" and "kinded unions" for variants the type (the variant type, eg, since COM or where people learn about these things), about co-variant return types, and function overloading, in C, to attain to the features that C++ of course already famously supports in the language, in a particularly opinionated way. There are a variety and number of ways to make for "polymorphism" as after "encapsulation", yet, "polymorphim" refers specifically to "polymorphism of types", vis-a-vis, a "polymorphic type", basically about what's considered the needful for C is the auto keyword, since C already has types. Then, the _Generic construct, which is in both C and C++, and has various accounts which can be made where it's on par with templates, though of course with much less general flexibility or support, there's that the type of whatever "auto" is in the lvalue can result carrying the "controlling-expression" in the _Generic expression to the type-matching to using the value, vis-a-vis "holder" or "variant" which has got no otherwise type itself, except insofar as that's a placeholder of "vanishing/phantom" types, that yet agreeably the tagged-union or kinded-union has members that can make for distinct types of the tags under controlling-expression, then about this overloading/underloading sort of account about fixed-size array types in C (i.e., that are line, page, and huge-aligned memory buffers, or, short, 32, long, or max name char array. This targeting C11/C++11, then there's "__auto__" in GCC/Clang which is alike C23's "auto", the lvalue of which can be the controlling-expression in a _Generic construct resulting maintaining the type on through about parameterizing the type, then about "polymorphism in types" beyond "polymorphic types", the controlling-expression in the _Generic construct can be as of according to a union type after "offsetof" a given field named eg "t" for tagged or "k" for kinded, these being about the few moving parts in C through which "type" definition or values resulting expressions on identifiers by duck-typing exist, about getting a typed representation at compile-time, vis-a-vis, run-time polymorphism after variant types, where the goal of "polymorphism in types" is compile-time polymorphism. Thanks for writing, good luck with that.
Re: Polymorphism (Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper ...
Author: Tristan Wibberley
Date: Mon, 23 Nov 2026 06:03
Date: Mon, 23 Nov 2026 06:03
51 lines
4187 bytes
4187 bytes
On 23/11/2026 00:17, Ross Finlayson wrote: > On 11/22/2026 12:12 PM, Tristan Wibberley wrote: >> On 19/11/2026 22:36, Ross Finlayson wrote: >> >>> polymorphic types, for example any of various accounts after vtables yet >>> anyways otherwise according to a block of functions in C, so, >>> function-overloading, >> >> I suppose that concept name would be interpreted for C as it is for C++ >> due to the close relationship between the two (especially with your >> mention of vtables which has strong connotations of what people call >> "polymorphic types" vis-a-vis C++). >> >> However, that's not the only referent and there's a formal CS/mathsy one >> that admits no runtime variation. ... >> How would readers of the groups characterise C++ so-called "runtime >> polymorphism" and that which C programmers would and have often done >> with vtables (GObject, for example), formally? > There are a variety and number of ways to make for "polymorphism" > as after "encapsulation", yet, "polymorphim" refers specifically > to "polymorphism of types", vis-a-vis, a "polymorphic type" Well, the way I see the term being used in CS is not really that, although perhaps the full treatment including dependent types yields something that includes runtime polymorphism as we call it in C++. The concept in CS is early enough that what we use the name for in C++ might be derived from the CS term (early 1970s at least). But the "runtime" part would come entirely from the dependent types combined with polymorphic functions, not from CS polymorphic types if it's even correct to call them that instead of parameterised types. I value some precise distinctivising contentions in this area vis-a-vis C and C++ applications of the concepts because I hope to be able to precisely taxonomise some of the relevant techniques used in C and C++. -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Page 3 of 4 • 158 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads