Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bart Newsgroups: comp.lang.c Subject: Re: Suggested method for returning a string from a C program? Date: Tue, 25 Mar 2025 15:04:56 +0000 Organization: A noiseless patient Spider Lines: 32 Message-ID: References: <874izntt5t.fsf@nosuchdomain.example.com> <87ecyrs332.fsf@nosuchdomain.example.com> <20250320171505.221@kylheku.com> <8734f7rw7z.fsf@nosuchdomain.example.com> <87tt7mqk7w.fsf@nosuchdomain.example.com> <87cye9afl0.fsf@nosuchdomain.example.com> <871puoag2q.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 25 Mar 2025 16:04:56 +0100 (CET) Injection-Info: dont-email.me; posting-host="9b3a21da3fd3fa07be1d97bdef3f85eb"; logging-data="3755164"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LqIEoRvhlBrDE0UvBiutP" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:u3KQesw7Ni3qqszr8YRjQ8mv2Q8= In-Reply-To: Content-Language: en-GB Bytes: 3386 On 25/03/2025 14:46, Muttley@DastardlyHQ.org wrote: > On Tue, 25 Mar 2025 11:09:21 +0000 > bart wibbled: >> On 25/03/2025 08:40, Muttley@DastardlyHQ.org wrote: >> >> >>>> For that matter, why do YOU use a makefile when your full build is only >>>> 0.8 seconds? >>> >>> Modularising code is far more than just about compilation speed which you'd >>> know if you had anything approaching a clue. >> >> You can modularise code without also needing a makefile! > > IYYM you can build modularised code without it. Sure , sometimes, so long as > the modules don't have varying compilation dependencies. But then you end up > rebuilding everything. And? I thought you said it didn't matter how long it took! Perhaps compilation time does matter after all... > Listen sonny, in large projects in companies - ie not the toy code you work > on in your bedroom - different people will have checked out seperate modules > and be working on them at any one time. Thats a lot simpler than having one > huge source file that then has a boatload of merge issues when a dozen people > all try to check their changes back in. Fucking hell, you still don't get it. That single source file is MACHINE-GENERATED. Nobody's going to be even looking inside let alone trying to maintain it. You might as well complain that a single EXE file is difficult to maintain!