3 ms·
Type parametrization is actually done better in Zig. I wish it departed from "no implicit actions" dogma and let RAII in. It would be almost perfect...
by Glavnokoman 5y ago
Type parametrization is actually done better in Zig. I wish it departed from "no implicit actions" dogma and let RAII in. It would be almost perfect...
- erdeszt 5y agoI kinda like that `defer` is very visible. Although I haven't worked on large Zig codebases so I don't know how that scales.
- Glavnokoman 5y ago`defer` does not allow passing ownership so it limits your designs quite significantly.