Re:A simple defer feature for C
by aaaaaaaaaaab on Sunday January 16, 2022 @11:37AM
(#29957397)
Just use C++. No need to proliferate the C language.
[ Parent
| on HN ]
I highly doubt you can explain why.
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.