Re:Zig 0.8.0 Release Notes
by adrusi on Saturday June 05, 2021 @01:39AM
(#27402532)
And more concretely, a language design rule of thumb in Zig is that if a function is called, there should be an explicit function call. Zig offers defer and errdefer as the closest substitute for RAII that makes all calls explicit.
[ Parent
| on HN ]
There are no comments on this comment yet.