News for hackers. Stuff that matters.
Re:Odin, a Pragmatic C Alternative with a Go Flavour by gingerBill on Saturday May 10, 2025 @05:15AM (#43944291)
I wouldn't like RAII, and why I didn't add it to Odin. It's not a feature C programmers want. And you've just agreed that C don't want ctors/dtors, which is necessary for RAII to work... ctors/dtors are bad for their own reasons (mainly because you cannot handle error cases except through exceptions, which many people disable too).

There are no comments on this comment yet.