News for hackers. Stuff that matters.
Re:A Modern C Development Environment by userbinator on Thursday August 10, 2023 @09:45PM (#37084117)
For a lot of small and even medium-size C projects, one file is enough. IMHO having dozens of tiny files with only a few dozen lines each is an antipattern.
Re:A Modern C Development Environment by seabrookmx on Friday August 11, 2023 @11:49AM (#37090070)
How many LOC is "medium" in your view? Most devs I work with would only put a thousand lines of code in a single file (obviously subjective, depends on density, comments etc). I'd still consider that a toy app, as opposed to my medium mark at about 100k LOC. At that stage you certainly benefit from all the tooling you seem to eschew. "Large" projects (the likes of Linux and Chromium) have so much mass they tend to have fully customized build systems.