🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #837

Re: Taming The Switch-Statement

#837
From: Chris M. Thomasson
Date: Tue, 27 Oct 2026 01:47
34 lines
2839 bytes
On 10/6/2026 4:05 PM, Chris M. Thomasson wrote:
> On 10/5/2026 4:11 PM, bart wrote:
>> On 05/10/2026 22:48, Kaz Kylheku wrote:
>>> On 2026-10-05, bart <bc@freeuk.com> wrote:
>>>> A lot of what big compilers do is what used to be called 'linting'.
>>>
>>> I don't suspect you can get rid of that in any language.
>>>
>>> The reason is that as experience with the given language grows, it is
>>> found that programmers make certain mistakes, where making formal
>>> syntactic and semantic rules against those mistakes, and sticking
>>> them into the language, would be a poor idea.
>>>
>>> At some point, you are trying to design a pencil that cannot be
>>> used to draw an optical illusion.
>>>
>>>> I don't consider that to be their job, which should be to verify my
>>>> program and turn it into runnable code, and not give opinions.
>>>
>>> That's a waste of potential; why would you refuse a machine that
>>> can apply hundreds of deterministic pattern matching rules against
>>> possible trouble situations in hundreds of thousands of lines of code,
>>> in seconds.
>>
>> I simply don't care about it. I don't have seconds to waste either.
> 
> Why not?
> 
> [...]
>>
> 

Ask you boss, tell them I have some interesting ideas, they know you 
might have had a drink or two. Show them your code. See what happens!
Technical Details
Message-ID: <11bovrg$14rhk$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> <11a3usl$2cj40$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: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Mon, 26 Oct 2026 18:47:28 -0700
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <11bovrg$14rhk$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> <11a3usl$2cj40$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 27 Oct 2026 01:47:29 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1207860"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18vUdUe6yBuz4vTYdeIvvYbuETAdDpduew="; posting-host="a6c988641c9f0a5278d89ebf0389e645"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:b/IH0VId+KJHA437PxSmo6VvMSY= sha256:fZ43A8ZoCbVcI9g0GYnXzUqTldcsomYsGh5gH1HwU7E=
	sha1:etYwYRdxgpsBRuhTyZ5EfAki/VQ= sha256:zhe8DqWbVlvOhILQUb3El8vIzhrebKIxXZyVZmDu3Mc=
In-Reply-To: <11a3usl$2cj40$3@dont-email.me>
Content-Language: en-US