🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #498

Re: Taming The Switch-Statement

#498
From: David Brown
Date: Sun, 18 Oct 2026 12:32
37 lines
2992 bytes
On 17/10/2026 22:40, bart wrote:
> On 17/10/2026 18:58, Dan Cross wrote:
>> In article <11avmfb$55rt$1@dont-email.me>, bart  <bc@freeuk.com> wrote:
>>> On 17/10/2026 04:19, Dan Cross wrote:
>>>> In article <11auad0$3no1k$1@dont-email.me>, bart  <bc@freeuk.com> 
>>>> wrote:

>> Yes.  C's declaration syntax is famously abstruse; film at 11.

I'm not sure it is.  It is different from what you find in some other 
languages, and it is certainly possible to write declarations in C that 
are hard to comprehend.  But it is possible to do that in any 
programming language, and equally you can write clear declarations in C. 
  It is very rare that I have to think about the syntax of declarations 
when I write C code, or when I read C code - maybe that's just my own 
experience, but it is simply not an issue for me.  Mind you, I don't 
write code with the rubbish that you bring up as "examples" - maybe my 
experience is different from that of other people.

> 
> And ... that's it? Just accept it? How about doing something about it!
> 

What, exactly, do you think any of us should do about it?  Let's hear a 
clear, realistic, concrete plan for how people here, the readers of 
comp.lang.c, can go about changing the syntax for C declarations.

Note that continually posting complaints to people who did not design 
the C language, do not implement C compilers, and are not part of the C 
standards committee, is not a realistic or concrete plan for change.

Nor is continually badgering people to "admit" that C is a terrible 
language.



Technical Details
Message-ID: <11b2e9r$14ag7$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> <11auad0$3no1k$1@dont-email.me> <11aupfl$3ul$1@reader2.panix.com> <11avmfb$55rt$1@dont-email.me> <11b0cvs$skc$1@reader2.panix.com> <11b0mfv$j5ll$1@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: Sun, 18 Oct 2026 14:32:59 +0200
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <11b2e9r$14ag7$1@dont-email.me>
References: <119qf6l$2rmg3$1@dont-email.me> <11auad0$3no1k$1@dont-email.me>
 <11aupfl$3ul$1@reader2.panix.com> <11avmfb$55rt$1@dont-email.me>
 <11b0cvs$skc$1@reader2.panix.com> <11b0mfv$j5ll$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 18 Oct 2026 12:32:59 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1190407"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19YE2S6NHoBICH0iFKqeEAxYkeS3/T34y0="; posting-host="a272f2752d0a4376a695806f42b83d2a"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:UcVWJtIMsoEGLlnXfPwfThP9wX8= sha256:wnWoNoYNEyKbMkgUFPhgWBMsWwUeM8eHuGhzTTK9tew=
	sha1:wJ2qqxIiA1jZ/B8aSBqr9q945uk= sha256:mnEDl5gsC8VlolP/sSmWOBrOJabzGj6kCB4bD6oKa5s=
In-Reply-To: <11b0mfv$j5ll$1@dont-email.me>
Content-Language: en-GB