Article View: comp.lang.c
Article #310Re: Taming The Switch-Statement
From: Janis Papanagnou
Date: Tue, 13 Oct 2026 01:54
Date: Tue, 13 Oct 2026 01:54
19 lines
2164 bytes
2164 bytes
On 2026-10-13 02:02, Keith Thompson wrote: > bart <bc@freeuk.com> writes: > [...] >> There are several issues discussed regarding switch: >> * That its structure is totally chaotic (there /is/ no structure) > > An overstatement, but I don't entirely disagree. switch is a low-level > control structure. I'd say it's notable for its low-levelness even > compared to other C features. I'm a bit astonished about that statement. The [original] "C" control structures appear to me to be all low-level; if I see "for (..;..;..)" it doesn't really strike me with awe concerning its abstraction level. And 'for' is the "most complex", the others are even more primitive. Janis > [...]
Technical Details
Message-ID:
<11ak2vp$4o6m$1@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-mailReferences:
<119qf6l$2rmg3$1@dont-email.me> <11agils$2s3tg$1@dont-email.me> <11ahpqi$38ir0$2@dont-email.me> <11ainqf$3kkvd$1@dont-email.me> <11aj73v$c2u$1@reader2.panix.com> <11ajcv8$3u33s$1@dont-email.me> <11ajsfi$28f2$5@kst.eternal-september.org>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: Tue, 13 Oct 2026 03:54:01 +0200 Organization: A noiseless patient Spider Lines: 19 Message-ID: <11ak2vp$4o6m$1@dont-email.me> References: <119qf6l$2rmg3$1@dont-email.me> <11agils$2s3tg$1@dont-email.me> <11ahpqi$38ir0$2@dont-email.me> <11ainqf$3kkvd$1@dont-email.me> <11aj73v$c2u$1@reader2.panix.com> <11ajcv8$3u33s$1@dont-email.me> <11ajsfi$28f2$5@kst.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 13 Oct 2026 01:54:01 +0000 (UTC) Injection-Info: dont-email.me; logging-data="155862"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185PkFgrrwJZOu038cJ+NxQ"; posting-host="a1215c61e514a50645aa60546bc3740b" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:S4v/YlQNbF9xP0dJxvJtJ7UzHjU= sha256:FQ2CBmp5YYuECbQF789ePdMfEaDKS8DRyGKQeHjaiDY= sha1:i0q4bKDBsT1BDin7xCB2FlUI6gU= sha256:YaHK6DtbeVa8SPjV3kwBioHPazIAgMf/RfvfKv2U6uw= In-Reply-To: <11ajsfi$28f2$5@kst.eternal-september.org> Content-Language: en-US