🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1654

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

#1654
From: Bonita Montero
Date: Thu, 19 Nov 2026 08:44
12 lines
2532 bytes
Am 19.11.2026 um 08:54 schrieb fir:

> but i understand shit in c++ lame bonita..it is enough
The abstraction in C++ maps to very efficient and easy to
understand parts in the back. But the C-minimalists are too
stupid to handle that.
There are no complex data structures in C and it's very hard
to handle them as easy and as efficient as in C++. Imagine
you have a unordered_map<string_view, intin C++ and now you
should implement that in C. With C++ that's a one-liner, with
C that's a week of work.
Technical Details
Message-ID: <11dmcsg$2361r$1@raubtier-asyl.eternal-september.org>
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!raubtier-asyl.eternal-september.org!.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> <_OucnXHtiJG62GP3nZ2dnZfqn_ednZ2d@giganews.com> <11dm61j$213t5$1@dont-email.me> <11dm63d$213t5$2@dont-email.me> <11dm6lh$21ag2$1@raubtier-asyl.eternal-september.org> <11dma0n$229vg$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!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Inversion-of-control and dependency-injection in C
Date: Thu, 19 Nov 2026 09:44:02 +0100
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <11dmcsg$2361r$1@raubtier-asyl.eternal-september.org>
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>
 <_OucnXHtiJG62GP3nZ2dnZfqn_ednZ2d@giganews.com>
 <11dm61j$213t5$1@dont-email.me> <11dm63d$213t5$2@dont-email.me>
 <11dm6lh$21ag2$1@raubtier-asyl.eternal-september.org>
 <11dma0n$229vg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Nov 2026 08:44:01 +0000 (UTC)
Injection-Info: raubtier-asyl.eternal-september.org;
	logging-data="2201659"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/0N0jZ2soL/MzH3zlKQ1r6W9aeTKp3lyE="; posting-host="3c9ab050108bc5958cb0e6d7c97bef08"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:KMl4Shjy9DaALDgyGdgV6UbxzeI= sha256:jaCoCrkBYGEaEtrOEQRqgAnhEjofUOd5mRibmQe+5Nc=
	sha1:HX/HdO2+TLFQCvvUZPGLbNUBi2M= sha256:iu1E9nD1jmfHGJSG9eHdELTojTwdYsK9BinxjXko3SQ=
In-Reply-To: <11dma0n$229vg$1@dont-email.me>
Content-Language: de-DE