2 ms·
In C I'm using a macro for stuff like that (improving readability, avoiding errors). In Zig I could use a `comptime` function, I presume?
by tempodox 4y ago
In C I'm using a macro for stuff like that (improving readability, avoiding errors). In Zig I could use a `comptime` function, I presume?
- messe 4y agoIt depends on what else you’re doing. In this situation normal function would suffice in either C or Zig.