Sujet : Re: Suggested method for returning a string from a C program?
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.lang.cDate : 25. Mar 2025, 17:16:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250325091057.166@kylheku.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2025-03-25,
Muttley@DastardlyHQ.org <
Muttley@DastardlyHQ.org> wrote:
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.
Splitting into files does make a big difference with centralized version
control that requires you to maintain a lock on an object that you are
modifying.
It makes little difference with distributed versioning systems like git.
You can catenate 10 .c files into a single one, and it would be just
as easy to work on in parallel.
However, git still has the concept of a file being one object.
You can "git log" a single file, and that is very useful;
If the file is a combination of what should be ten files, then
it becomes less useful.
I'm not suggesting people should combine files; it's a bad idea for
multiple reasons. Just that you *can* pretty easily work concurrently on
large files unless you're using a very outdated version control system.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca