Hacker News new | ask | show | jobs
by fauigerzigerk 3371 days ago
I agree. C + RAII.
1 comments

If that's all you want, you might take a look at the `cleanup` attribute for C. It's non-standard, but it is supported by `gcc` and `clang` and is fairly effective.