You can certainly do it with RAII. However, what if a language lacks RAII because it prioritizes explicit code execution? Or simply want to retain simple C semantics?
Because that is the context. It is the constraint that C3, C, Odin, Zig etc maintains, where RAII is out of the question.
lerno|7 months ago
Because that is the context. It is the constraint that C3, C, Odin, Zig etc maintains, where RAII is out of the question.
imtringued|7 months ago