News for hackers. Stuff that matters.
Re:Why Not Just Do Simple C++ RAII in C? by theeandthy on Wednesday May 22, 2024 @06:20PM (#40447407)
Yeah you’re right. I guess folks who want C++ stuff should just use C++…

I guess I should have reworded. I don’t expect that feature in C, but if I were to reinvent C today I would keep it the same but add namespace and mangling.

Adding an explicit prefix to every function call is a lot boilerplate when it’s all added up.

There are no comments on this comment yet.