News for hackers. Stuff that matters.
Re:A Modern C Development Environment by userbinator on Thursday August 10, 2023 @08:00PM (#37083349)
...or even Notepad.

I write a lot of pure Win32 C, and I don't even need a Makefile for the majority of my projects because they're just compiled as a single file and quickly enough that I don't bother with anything more than necessary.

IMHO the "tool fetish" that a lot of (mostly newer) programmers seem to have is an artifact of a mentality that favours complexity and novelty over simplicity and efficiency. They will waste tons of time and resources configuring and debugging (often with little understanding) huge complex monstrosities of "development environments", and end up feeling more productive, but in reality aren't.

This article just further confirms what I'd already expected with the word "modern".

Re:A Modern C Development Environment by monsieurbanana on Thursday August 10, 2023 @08:06PM (#37083391)
I'll take the notepad bit as satire.

I think simplicity is underrated too, but I hope you'll agree that your single c file use case is rather niche.

Re:A Modern C Development Environment by hot_gril on Thursday August 10, 2023 @08:37PM (#37083632)
and pure-Win32 is also niche
Re:A Modern C Development Environment by bitwize on Thursday August 10, 2023 @08:48PM (#37083719)
I wrote my first Java code in Notepad and compiled it from command.com (as Windows 9x still called it). It was... fine, I guess? For the era? Not what I would want to do but far from unmanageable.
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.
Re:A Modern C Development Environment by stjohnswarts on Friday August 11, 2023 @01:56PM (#37091685)
If your notepad based program dev environment fits in a single file and is easy to follow then yeah you probably don't need all these tools.