🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #745

Re: Taming The Switch-Statement

#745
From: Lawrence D’Oliveiro
Date: Sat, 24 Oct 2026 22:26
11 lines
1995 bytes
On Fri, 23 Oct 2026 18:33:56 -0700, Chris M. Thomasson wrote:

> On 10/23/2026 3:40 PM, Lawrence D’Oliveiro wrote:
>>
>> The trouble with a fixed name is, how do you refer to the instance
>> of an outer class?
>
> Well, self can be internal to the API logic.

If “self” refers to the current instance of the innermost class, how
do you refer to an instance of an outer class?
Technical Details
Message-ID: <11bjbah$340l8$5@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> <11b6224$2ejik$1@dont-email.me> <11b774o$2m8c9$3@dont-email.me> <11b7k22$2v8e5$1@dont-email.me> <11b8f5h$67l$1@reader2.panix.com> <11baah2$3te3v$1@dont-email.me> <11bb5ou$8nfg$2@dont-email.me> <11bcc4o$jt81$1@dont-email.me> <20261022094427.210@kylheku.com> <11bdp73$15nor$1@dont-email.me> <11bf2s9$1eo7q$2@dont-email.me> <11bgj4c$265sc$2@dont-email.me> <11bgno8$27pn2$1@dont-email.me> <11bh1u6$2av4s$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: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Sat, 24 Oct 2026 22:26:26 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <11bjbah$340l8$5@dont-email.me>
References: <119qf6l$2rmg3$1@dont-email.me> <11b6224$2ejik$1@dont-email.me>
	<11b774o$2m8c9$3@dont-email.me> <11b7k22$2v8e5$1@dont-email.me>
	<11b8f5h$67l$1@reader2.panix.com> <11baah2$3te3v$1@dont-email.me>
	<11bb5ou$8nfg$2@dont-email.me> <11bcc4o$jt81$1@dont-email.me>
	<20261022094427.210@kylheku.com> <11bdp73$15nor$1@dont-email.me>
	<11bf2s9$1eo7q$2@dont-email.me> <11bgj4c$265sc$2@dont-email.me>
	<11bgno8$27pn2$1@dont-email.me> <11bh1u6$2av4s$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Oct 2026 22:26:26 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3277480"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/YB1+12yspzO4q2vsuEw67"; posting-host="2f0c6f23b3422283e8fcbe6e904c474e"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:OJCn7zz62zOgNk9SoMTq9l+OlN8= sha256:F0eMcaVGcKSd4tbmxaDTh9pt5YNUXo3eyVZXSo0mTeI=
	sha1:kxHB/xgQ4xhtcL3y780/Lc/gfEg= sha256:IokTq5HYVuVYK5JHnriK013fvKssvGa0eWD0AeEPtWo=