🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #628

Re: Taming The Switch-Statement

#628
From: Dan Cross
Date: Wed, 21 Oct 2026 01:56
34 lines
2401 bytes
In article <11b954e$3hjvi$1@dont-email.me>, bart  <bc@freeuk.com> wrote:
>On 21/10/2026 01:56, Dan Cross wrote:
>> In article <11b8qqg$3ejlp$1@dont-email.me>, bart  <bc@freeuk.com> wrote:
>>> On 20/10/2026 22:44, Dan Cross wrote:
>>>> In article <11b8j17$3btus$1@dont-email.me>, bart  <bc@freeuk.com> wrote:
>>>>> On 20/10/2026 20:24, Dan Cross wrote:
>>>>>> In article <11b7k22$2v8e5$1@dont-email.me>, bart  <bc@freeuk.com> wrote:
>>>>>
>>>>>> The point is that the name you chose is meaningless to anyone
>>>>>> other than you.  What's a PCL?  Phase Control Line?  Printer
>>>>>> Command Language?  Photon Compressor Loop?
>>>>>
>>>>> Within the context of that application then it would be clear. You're
>>>>> just being overly hostile.
>>>>
>>>> Not really.  You are, I presume, posting that code to try and
>>>> make some kind of point about how "readable" it is.  But it's
>>>> not readable unless you already know what it does.
>>>
>>> What it does not relevant. This is simply defining an array of T. But
>>> because T happens to be a function pointer, DB insists that an alias
>>> must be created, and a new name invented.
>>>
>>> Why? Probably because in C, the syntax for function pointers gets hairy.
>> 
>> I dunno; your syntax didn't seem any clearer to me.
>
>Yeah, the C is so much clearer. Of course, you would all lie through 
>your teeth anyway before you'd admit mine might be simpler.

Oh, grow up.

	- Dan C.
Technical Details
Message-ID: <11b964s$8a9$1@reader2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
References: <119qf6l$2rmg3$1@dont-email.me> <11b8qqg$3ejlp$1@dont-email.me> <11b92j1$dhb$1@reader2.panix.com> <11b954e$3hjvi$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!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Wed, 21 Oct 2026 01:56:44 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <11b964s$8a9$1@reader2.panix.com>
References: <119qf6l$2rmg3$1@dont-email.me> <11b8qqg$3ejlp$1@dont-email.me> <11b92j1$dhb$1@reader2.panix.com> <11b954e$3hjvi$1@dont-email.me>
Injection-Date: Wed, 21 Oct 2026 01:56:44 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
	logging-data="8521"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)