Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dnautics
5mo ago
0 comments
Save
Share
I don't know if this particular error would have been findable with zig-clr, but you don't need RAII. Errdefer/defer is enough, if you have an alogrithm checking your work.
0 comments
1 comments · 1 top-level
top
newest
oldest
hardwaresofton
5mo ago
It’s not that you NEED RAII (or any other language abstraction), it’s that this case would have been avoided with that usage.
Clearly, the current state of things was not enough.
j
/
k
navigate · click thread line to collapse