🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #557

Re: Taming The Switch-Statement

#557
From: Janis Papanagnou
Date: Mon, 19 Oct 2026 16:28
36 lines
3391 bytes
[ with big snips of lots of irrelevant stuff ]

On 2026-10-19 17:47, Tim Rentsch wrote:
>> On 2026-10-18 12:48, David Brown wrote:
>>> 
>>> The C standards committee collectively reached an agreement counter
>>> to Tim's thoughts, so clearly his preferred variant is /not/
>>> unquestionably better.
> 
> 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 understand the disappointment when something evolves differently,
where own opinions or own "educated or acquired wisdom" diverges.
(Such expressed disappointment is observable with some other poster
here as well.)

Opinions are fine, arguments are better.

The arguments (meanwhile) exchanged here let me come to another
conclusion than you, though, concerning the competence or rather
the thoughtfulness of the involved committee members.

And, to come back to the primary topic; the "problems" adding such
features to "C" (with all perceived sub-optimality of every option)
is primarily based on how it had been designed back then. (It's not
so much a problem of the specific "collective [committee] wisdom".
IMHO and YMMV.)

I don't think it makes sense to continue discussions on that level.

Janis
Technical Details
Message-ID: <11b5gfr$1kr9u$5@dont-email.me>
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!.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!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Mon, 19 Oct 2026 18:28:43 +0200
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <11b5gfr$1kr9u$5@dont-email.me>
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; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 19 Oct 2026 16:28:44 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1731902"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Nx9ku8pNiA86v/Jvvjwqt"; posting-host="9a1787de1638a6d9f83c958712c1b12a"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1D8ebwn1IgXd9v4pz10vdRZ98tc= sha256:dh8PBlXxhb6DzXU1uLXHzk3AjJFvr9XHNcbz6/AldT8=
	sha1:i/+R28tYs7uh8OsTWvXVMKL/yNc= sha256:CtkGw675CH0iISLcGELdk2N+kDG4kZ1ql3Lc5x6t4uo=
Content-Language: en-US
In-Reply-To: <86y0btofoy.fsf@linuxsc.com>