🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1492

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

#1492
From: Lew Pitcher
Date: Thu, 12 Nov 2026 20:11
16 lines
1845 bytes
On Thu, 12 Nov 2026 09:41:04 -0800, Ross Finlayson wrote:

> Hello, dear C experts, I'm hoping you can tell me a story about
> modularity and composability, about the concerns of inversion-of-control
> and dependency-injection in C, basically about wiring
> test-time and run-time targets, for example about conditional-includes
> and various build-targets, probably mostly about function pointers.

Pardon my impertinence, but this sounds like a homework problem to me.

Could you rephrase your question without the academic wording? 

-- 
Lew Pitcher
"In Skills We Trust"
Not LLM output - I'm just like this.
Technical Details
Message-ID: <11d56gl$3ud5q$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <yQOdnQ-qnKiiZ2j3nZ2dnZfqn_udnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups: comp.lang.c
Subject: Re: Inversion-of-control and dependency-injection in C
Date: Thu, 12 Nov 2026 20:11:01 -0000 (UTC)
Organization: The Pitcher Digital Freehold
Lines: 16
Message-ID: <11d56gl$3ud5q$1@dont-email.me>
References: <yQOdnQ-qnKiiZ2j3nZ2dnZfqn_udnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 12 Nov 2026 20:11:02 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="4142266"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18G1hzVmkUZ3zSLCSDHEJrdc4sq7ZK3p+g="; posting-host="bff2836bd3c2aa9739156966101f04ea"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:TaeF9Jm6N4FEfxrB1wR6AYCpxHE= sha256:OX+UV4849TSg7nr7ySYPxI+g4Yunz9Eag8LhL0IoODY=
	sha1:Cc6um1xZzQlgZuY1DUZHsT/xfH4= sha256:lAofTEWCzx27N70O3lihDAJZyotD6VoKX+j+I8ajdUk=