3 ms·
I agree RAII at a minimum should be available, but why not just use c++ at that point? I'll just go to something like zig or rust that is established and has th
by stjohnswarts 4y ago
I agree RAII at a minimum should be available, but why not just use c++ at that point? I'll just go to something like zig or rust that is established and has thousands of libraries available.
- gingerBill 4y agoI recommend reading my reply to another comment regarding RAII: https://news.ycombinator.com/item?id=32629951 https://news.ycombinator.com/item?id=32629951 Also the article itself demonstrates different approaches to achieve behaviour similar to RAII through the `defer` statement and `deferred_*` attributes.