News for hackers. Stuff that matters.
Re:A simple defer feature for C by kaba0 on Sunday January 16, 2022 @12:32PM (#29957954)
Not the parent commenter, but namespaces alone make the switch a no-brainer. Add on top RAII, actual abstractibility (good luck implementing std::string in C properly) make it a strictly worse language.
Re:A simple defer feature for C by daneelsan on Sunday January 16, 2022 @03:04PM (#29959413)
Why ado you think namespaces make it a no brainer? I would argue the only thing I would want from C++ it's operator overloading, and I'm not even conviced about that.