3 ms·
Sure, but we have now (almost) gone full circle:). When writing exception safe code, for me is more important to know which functions are guaranteed not to fai
by gpderetta 4y ago
Sure, but we have now (almost) gone full circle:).
When writing exception safe code, for me is more important to know which functions are guaranteed not to fail as they will be called in the commit path. Currently I just comment which operations are no-throw and otherwise assume that everything else can fail, but it would be nice to have the compiler tell me.
- codethief 4y ago> for me is more important to know which functions are guaranteed not to fail as they will be called in the commit path But Zig allows you to see immediately which functions are guaranteed not to fail because those functions's return types won't include an error type.