🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1644

Re: Inversion-of-control and dependency-injection in C

#1644
From: Ross Finlayson
Date: Thu, 19 Nov 2026 00:38
30 lines
2701 bytes
On 11/18/2026 12:40 PM, bartc wrote:
> On 18/11/2026 19:58, Ross Finlayson wrote:
>
> <More than 3300 lines snipped>
>
> You're a nutter.
>

Hm. Dear me. At that rate I'd soon be a transient if not a criminal.

Oh well, at least when I'm coding in C/C++ in C and looking for:

function overloading, including with multiple parameters,
covariant return-types, and transparent holders,
polymorphism at run-time, if shallowly,
and generic and specialized zero-cost container abstractions,
all with the strong guarantees of types to compile,

and other sorts features where I'd turn to C++,
I can less worry my head about picking among
the ten different ways of doing things in C++
that were after templates and type_traits.


"Your time is valuable and your opinion is valued."


Warm regards

Technical Details
Message-ID: <_OucnXHtiJG62GP3nZ2dnZfqn_ednZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <yQOdnQ-qnKiiZ2j3nZ2dnZfqn_udnZ2d@giganews.com> <11d56gl$3ud5q$1@dont-email.me> <11d6vjp$qhu8$1@raubtier-asyl.eternal-september.org> <dsednTD-Fblclmr3nZ2dnZfqnPWdnZ2d@giganews.com> <11d738r$ru7a$1@dont-email.me> <11d75i7$spj0$1@dont-email.me> <11d7c8k$173nk$1@dont-email.me> <11d7fbv$1839o$2@dont-email.me> <PKGcne0xA53EC2D3nZ2dnZfqn_udnZ2d@giganews.com> <11dk8ib$1c198$1@dont-email.me> <BOmdncI_EeozMmD3nZ2dnZfqnPudnZ2d@giganews.com> <wZydnbpCy4bjnmP3nZ2dnZfqnPSdnZ2d@giganews.com> <11dl2g6$1ml3o$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 19 Nov 2026 00:39:03 +0000
Subject: Re: Inversion-of-control and dependency-injection in C
Newsgroups: comp.lang.c
References: <yQOdnQ-qnKiiZ2j3nZ2dnZfqn_udnZ2d@giganews.com>
 <11d56gl$3ud5q$1@dont-email.me>
 <11d6vjp$qhu8$1@raubtier-asyl.eternal-september.org>
 <dsednTD-Fblclmr3nZ2dnZfqnPWdnZ2d@giganews.com>
 <11d738r$ru7a$1@dont-email.me> <11d75i7$spj0$1@dont-email.me>
 <11d7c8k$173nk$1@dont-email.me> <11d7fbv$1839o$2@dont-email.me>
 <PKGcne0xA53EC2D3nZ2dnZfqn_udnZ2d@giganews.com>
 <11dk8ib$1c198$1@dont-email.me>
 <BOmdncI_EeozMmD3nZ2dnZfqnPudnZ2d@giganews.com>
 <wZydnbpCy4bjnmP3nZ2dnZfqnPSdnZ2d@giganews.com>
 <11dl2g6$1ml3o$1@dont-email.me>
From: Ross Finlayson <ross.a.finlayson@gmail.com>
Date: Wed, 18 Nov 2026 16:38:59 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <11dl2g6$1ml3o$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <_OucnXHtiJG62GP3nZ2dnZfqn_ednZ2d@giganews.com>
Lines: 30
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-CK2MwFhocERhuibR7uZLryKwz6BbWOs5uhrrtMoxWgKttvnu7nN63z5212QJYC7vwC0nKnJMx25HzMY!m3MhwGr1kphcQdW2jndXY1aLgFoSZ+Tr5/FlnBh6bN+4uXgnLZdAQwknNdABd2O2tzlvPV5+/rmC
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40