3 ms·
Sounds like comptime from Zig. There are a few others that does something similar, but Zig probably has most mind share right now.
by doctor_phil 3y ago
Sounds like comptime from Zig. There are a few others that does something similar, but Zig probably has most mind share right now.
- txdv 3y agoYou parse the string and then iterate over the passed arguments and check if everything adds ups. Rather straightforward. Expressing it in the type system like TS did is impressive, but not simple.