News for hackers. Stuff that matters.
Re:Some C habits I employ for the modern day by pjmlp on Saturday January 24, 2026 @05:09AM (#46742337)
People that contribute to WG14 are naturally biased against C++, especially with gimmicks like _Generic.

Internet is full of people asserting CVEs in C are only caused by not skilled enough devs.

Re:Some C habits I employ for the modern day by lelanthran on Saturday January 24, 2026 @05:24AM (#46742396)
> Internet is full of people asserting CVEs in C are only caused by not skilled enough devs.

Sure, but those people are not here, and usually aren't on HN anyway.

The internet is also full of people asserting that CVEs in C++ are only caused by not skilled enough devs, but I consider those people irrelevant too.

The reasons for rejecting C++ in this forum have been repeated often enough that you should have seen them by now: C++ has major systemic problems that don't exist in many other languages, including C.

It should be no surprise to you, at this point, that people choose almost anything over C++. The fact that "anything" also includes "C" is mostly incidental.

No one is asserting that they reject C++ because C is better, they typically reject it for concrete reasons, like the ones I pointed out upthread.

Re:Some C habits I employ for the modern day by pjmlp on Saturday January 24, 2026 @05:27AM (#46742409)
Yeah the same reasons as the flamewars on comp.lang.c and comp.lang.c++.

WG21 could do a better job, but that least they acknowledge security has to be tackled somehow.

Re:Some C habits I employ for the modern day by lelanthran on Saturday January 24, 2026 @06:21AM (#46742669)
>> people choose almost anything over C++. The fact that "anything" also includes "C" is mostly incidental.

> Yeah the same reasons as the flamewars on comp.lang.c and comp.lang.c++.

I've never seen that reason in comp.lang.c and comp.lang.c++; I am skeptical that you have seen that reason.

Re:Some C habits I employ for the modern day by uecker on Saturday January 24, 2026 @02:05PM (#46746492)
Your implied claim that WG14 doesn't is incorrect, as you have been told before.
Re:Some C habits I employ for the modern day by pjmlp on Monday January 26, 2026 @01:55AM (#46762623)
As you have equally been told before, I have still not been proven wrong by WG14 work output during the last decades since 1989.