๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1728

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

#1728
From: FIR
Date: Thu, 19 Nov 2026 11:01
21 lines
2083 bytes
  To: COMP.LANG.C
From Newsgroup: comp.lang.c

fir pisze:
> ..but overally c has more worse problems like this "not seing 
> definitions down" which s terrible and has terrible consequences

note if not that shit the declarations/externs in c would not be just
existing (!)

you could compile each file to .o with no adding one..and compiler 
could
eventually generate some .h as an interface but it would be generated 
automaticaaly you would not write it

and that mes with declarations/externs is in fact imo the worst 
practical problem of c today
--- Synchronet 3.19b-Linux NewsLink 1.113
 รพ Synchronet รพ Mythical Kingdom
--- Synchronet 3.19b-Linux NewsLink 1.113
 *  Mythical Kingdom SBBS - Dayton OH - telnet://bbs.mythicalkingdom.com
Technical Details
Message-ID: <6B00B395.43239.usenet_complane@bbs.mythicalkingdom.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!mk.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!mk.eternal-september.org!.POSTED!not-for-mail
From: "FIR" <fir@LION.remove-eeq-this>
Newsgroups: comp.lang.c
Subject: Re: Inversion-of-control and dependency-injection in C
Date: Thu, 19 Nov 2026 11:01:00 +0000
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <6B00B395.43239.usenet_complane@bbs.mythicalkingdom.com>
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 20 Nov 2026 22:20:06 +0000 (UTC)
Injection-Info: mk.eternal-september.org;
	logging-data="3787638"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/1wiX831PnaG5A1gjCYV+OrS97wU+pq60="; posting-host="40b0ebdbc249f0e2cc641fd67dcd0032"
Cancel-Lock: sha1:mqEhmqYf9atoDxzdYYDre6gtfoM= sha256:3NcHH9B8uVJ+KRTfTsJWAKwx8/I63hclVbY4E0JnVrM=
	sha1:zFOBg92A6OeRM+s9Jb+T4LvZSdk= sha256:GtzoGBTFH9jxuS6LC0ZysmcGwSSzlr61qTmLCDzS5v8=
X-FTN-CHRS: CP437 2
X-Comment-To: COMP.LANG.C
X-FTN-PID: Synchronet 3.19b-Linux HEAD/6b10fdc41 Feb 18 2022 GCC 9.3.0
X-Gateway: bbs.mythicalkingdom.com [Synchronet 3.19b-Linux NewsLink 1.113]