🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #576

Re: Taming The Switch-Statement

#576
From: Keith Thompson
Date: Mon, 19 Oct 2026 23:11
82 lines
5543 bytes
Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>> On 2026-10-18 12:48, David Brown wrote:
>>> On 17/10/2026 01:29, Janis Papanagnou wrote:
>>>> On 2026-10-17 00:00, Keith Thompson wrote:
>>>>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>>>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>>>> [...]
>>>>>>> There's a proposal for C2y to use goto labels as loop names, and a
>>>>>>> competing one to define a new syntax like "for NAME (;;)" :
>>>>>>> [...]
>>>>>>
>>>>>> I'm not particularly a fan of multi-level break/continue.  But if
>>>>>> we're going to have one of these, the second ("for NAME (;;)") is
>>>>>> unquestionably better.
>>>>>
>>>>> Unquestionably?  Why?
>>>>
>>>> Why would one question an opinion? ;-)
>>>
>>> Time didn't word it as a personal opinion - he made it clear that he
>>> doesn't think anyone else could have a different opinion.
>>
>> You've noticed my smiley?  (There was no need for an explanation.)
>
> Anyone who thinks my statement "the second ("for NAME (;;)") is
> unquestionably better" was meant as a statement of fact rather
> than a statement of opinion is an idiot.

"Better" is an opinion, and if you had just said that I wouldn't have
replied.

If you're saying that "unquestionably better" is merely an opinion,
I now accept that you meant it that way, but that's not the way I
interpreted it.  It implies, not merely that something is better,
but that nobody could possibly question that it's better.  I suggest
you write more clearly rather than insulting your readers, perhaps
by choosing a word other than "unquesionably" to denote emphasis.

When I asked you to explain, you responded by giving me a detailed
homework assignment as a prerequisite to answering my question.
Perhaps you weren't serious about that, but I couldn't tell.

To be clear, I am no longer asking you to explain what you meant by
"unquestionably better".

> I think most people can see that I am careful in my writing, and
> also that I make an effort to differentiate statements of opinion,
> statements of belief, and statements of fact.  My remark above is
> no exception to that practice.

Apparently you didn't *intend* it to be an exception to that practice.

> For the benefit of any other people who may have not seen the
> distinction here, please remember this:  any statement that uses
> the word "better", when made without any reference to some sort of
> objective metric, is inherently a subjective statement.  Any
> subjective statement (that does not fall into the category of
> being a statement of belief) is a statement of opinion.  It's easy
> to see this simply by a process of elimination, because subjective
> statements are not facts, and vice versa.

<sarcasm>Thank you for explaining that to us.</sarcasm>

You used the phrase "unquestionably better".  I questioned that.  If
your problem with my response was that you were merely expressing
an opinion, you could have just said that rather than wasting our
time by bloviating about the difference between opinions and facts.

[...]

> My confidence in the collective wisdom of the ISO C committee has
> declined in recent years, and sadly for more than just the last
> few years.  So learning that they have settled (even if that might
> change in the future) on the "label: for(...)" approach is
> disappointing, but not surprising.

I acknowledge your opinion.  I certainly do not share it.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Technical Details
Message-ID: <11b683i$2fcat$3@kst.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mail
References: <119qf6l$2rmg3$1@dont-email.me> <11ac0mi$19kfd$1@dont-email.me> <11ac2jv$1a84t$1@dont-email.me> <11ac783$1bkuo$1@kst.eternal-september.org> <11ad5eq$1l8hg$1@dont-email.me> <11ad9fg$cjm0$4@dont-email.me> <11addhr$1oakb$1@dont-email.me> <11aduuk$cjlv$1@dont-email.me> <20261010220212.000063fd@yahoo.com> <11ae56o$cjlv$4@dont-email.me> <20261010230355.00005189@yahoo.com> <11ae7eb$cjlv$6@dont-email.me> <11aeee0$24k8m$1@kst.eternal-september.org> <11aer17$286ml$2@dont-email.me> <11aeusp$29hmu$2@kst.eternal-september.org> <86mrsdpcgp.fsf@linuxsc.com> <11au6pr$3mdne$1@kst.eternal-september.org> <11auc0s$206gh$3@dont-email.me> <11b285v$121v2$2@dont-email.me> <11b2b6e$3pvda$4@dont-email.me> <86y0btofoy.fsf@linuxsc.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Mon, 19 Oct 2026 16:11:46 -0700
Organization: None to speak of
Lines: 82
Message-ID: <11b683i$2fcat$3@kst.eternal-september.org>
References: <119qf6l$2rmg3$1@dont-email.me> <11ac0mi$19kfd$1@dont-email.me>
	<11ac2jv$1a84t$1@dont-email.me>
	<11ac783$1bkuo$1@kst.eternal-september.org>
	<11ad5eq$1l8hg$1@dont-email.me> <11ad9fg$cjm0$4@dont-email.me>
	<11addhr$1oakb$1@dont-email.me> <11aduuk$cjlv$1@dont-email.me>
	<20261010220212.000063fd@yahoo.com> <11ae56o$cjlv$4@dont-email.me>
	<20261010230355.00005189@yahoo.com> <11ae7eb$cjlv$6@dont-email.me>
	<11aeee0$24k8m$1@kst.eternal-september.org>
	<11aer17$286ml$2@dont-email.me>
	<11aeusp$29hmu$2@kst.eternal-september.org>
	<86mrsdpcgp.fsf@linuxsc.com>
	<11au6pr$3mdne$1@kst.eternal-september.org>
	<11auc0s$206gh$3@dont-email.me> <11b285v$121v2$2@dont-email.me>
	<11b2b6e$3pvda$4@dont-email.me> <86y0btofoy.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 19 Oct 2026 23:11:47 +0000 (UTC)
Injection-Info: kst.eternal-september.org;
	logging-data="2601309"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/btUwzC1uUBMlDFq5Z4+Rq"; posting-host="9660475a9289184964a5dc25cbc4aed9"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:XKPC3q0j33oL4qxEe2qiQ45vC+4= sha256:btzRiis3GaO3AWGznzym6wrLMikuwg8fp+bgWIRTew8=
	sha1:JkIKbQRKKEeszqDGf9awOJUDwIs= sha256:iB+kYXMQ5X3nbFoJ9iJPCs1w1cjoWU3AhhhctLv/qbE=