🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #18

Re: Taming The Switch-Statement

#18
From: David Brown
Date: Wed, 07 Oct 2026 08:35
19 lines
2253 bytes
On 07/10/2026 01:45, Lawrence D’Oliveiro wrote:
> On Tue, 6 Oct 2026 16:08:25 -0700, Chris M. Thomasson wrote:
> 
>> On 10/6/2026 3:41 AM, David Brown wrote:
>>
>>> Anyone who sometimes makes mistakes should enable warnings.  And
>>> that means /everyone/ should enable copious warnings.
>>
>> Coin that!
> 
> Then there is “confirmation fatigue”, where you get too inured to
> ignoring spurious warnings, and miss the important one(s) in among the
> noise.

Enabling lots of warning options does not mean triggering lots of warnings!

> 
> I don’t think there is any idiot-proof way to avoid being an idiot ...
Technical Details
Message-ID: <11a508q$2m3b3$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-mail
References: <119qf6l$2rmg3$1@dont-email.me> <119r8u3$34nce$1@dont-email.me> <119rau4$35ugq$1@dont-email.me> <119uo2c$3kc0t$1@paganini.bofh.team> <119uqnv$d6j2$1@dont-email.me> <20261005143559.157@kylheku.com> <11a1arj$1e8ks$1@dont-email.me> <11a295r$1lqal$3@dont-email.me> <11a2e2m$ef4o$2@dont-email.me> <11a2j83$1qu9n$1@dont-email.me> <11a3v19$2cj40$4@dont-email.me> <11a417c$2d9m7$3@dont-email.me>

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: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Wed, 7 Oct 2026 10:35:38 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <11a508q$2m3b3$1@dont-email.me>
References: <119qf6l$2rmg3$1@dont-email.me> <119r8u3$34nce$1@dont-email.me>
 <119rau4$35ugq$1@dont-email.me> <119uo2c$3kc0t$1@paganini.bofh.team>
 <119uqnv$d6j2$1@dont-email.me> <20261005143559.157@kylheku.com>
 <11a1arj$1e8ks$1@dont-email.me> <11a295r$1lqal$3@dont-email.me>
 <11a2e2m$ef4o$2@dont-email.me> <11a2j83$1qu9n$1@dont-email.me>
 <11a3v19$2cj40$4@dont-email.me> <11a417c$2d9m7$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 07 Oct 2026 08:35:38 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2821475"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+mlm0YBGO0lFuRbRvDrX7EHc08SBn3t1w="; posting-host="fd0a1bf01e024f2af36d0493face3db6"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fEKeytMFl+vXYqpuZqnFLwO+qS0= sha256:2FbVtYjf6J+bur7QFPn33ObQszhY2XAeUuie8XWfNLI=
	sha1:z8D9TeYdhQAROJb58WmDzuNUYoU= sha256:0VRXq7tcdGa9oE0RWHHhmdcqVKVm6QNbAZ8ll0AxdTI=
Content-Language: en-GB, nb-NO
In-Reply-To: <11a417c$2d9m7$3@dont-email.me>