News for hackers. Stuff that matters.
Re:Type Safe Generic Data Structures in C by lelanthran on Monday October 05, 2026 @01:24PM (#49967736)
> And you can always use only features from C++ you find useful.

Ah, the old "programmers just need to be more disciplined when using C++".

Yeah, C programmers have never seen that argument before...

Re:Type Safe Generic Data Structures in C by kccqzy on Monday October 05, 2026 @05:06PM (#49970738)
As if C programmers don’t have to be disciplined. Look if you are a C programmer you need to pick good parts of the language to write in as well. A beginner picked gets()? Oh the foes of the young and inexperienced. You picked VLA? Linus would breathe fire unto you.

A difference between C++ programmers and C programmers is that C++ programmers have the awareness to know their language has bad parts to avoid, but C programmers are oblivious to the bad parts until someone uses it, but otherwise sing paeans for the language.

Re:Type Safe Generic Data Structures in C by Someone on Tuesday October 06, 2026 @01:14PM (#49981363)
> A beginner picked gets()?

Nitpick: that isn’t possible anymore. gets was removed from C in C11 (https://en.cppreference.com/c/io/gets)