🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1494

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

#1494
From: Richard Harnden
Date: Thu, 12 Nov 2026 20:55
20 lines
2071 bytes
On 12/11/2026 20:11, Lew Pitcher wrote:
> 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?
> 

Or get an AI do to your homework?

Be careful to remove the white-on-white-very-small-font gotcha your 
professor doubtlessly put in.

Technical Details
Message-ID: <11d594d$9qh8$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> <11d56gl$3ud5q$1@dont-email.me>

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: Richard Harnden <richard.nospam@gmail.invalid>
Newsgroups: comp.lang.c
Subject: Re: Inversion-of-control and dependency-injection in C
Date: Thu, 12 Nov 2026 20:55:40 +0000
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <11d594d$9qh8$1@dont-email.me>
References: <yQOdnQ-qnKiiZ2j3nZ2dnZfqn_udnZ2d@giganews.com>
 <11d56gl$3ud5q$1@dont-email.me>
Reply-To: nospam.harnden@invalid.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Nov 2026 20:55:42 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="322088"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/nRRWZLPs925jNJXWSIayuGBwFlXCJWqo="; posting-host="30ffe8756687bc6de3136a6af06653df"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:WuP3m0Hu60xxSrWRlCDVMxDHgdk= sha256:ACAYDLwp5Cs0vEtzzlOC/DZ+Kt8CwKAWuVtGhcoBMSc=
	sha1:QagfBDi442u95jp1wBj9Zb515Sk= sha256:Z7X22TBJAAUvst3Y58iaNZ2MA7i8xP1TqJ3sPk9Zghg=
In-Reply-To: <11d56gl$3ud5q$1@dont-email.me>
Content-Language: en-GB