3 ms·
I really wish Zig had closures and interfaces/traits. You can emulate them in hackish ways, but UX is awful and as there isn't a uniform way, there's next to no
by ImprobableTruth 4y ago
I really wish Zig had closures and interfaces/traits. You can emulate them in hackish ways, but UX is awful and as there isn't a uniform way, there's next to no compatibility with regards to libraries. As is I'd rather just use a heavily restricted version of C++.
- bouiaw 4y agoYeah I miss interfaces/traits as well, see https://github.com/ziglang/zig/issues/1268 https://github.com/ziglang/zig/issues/1268 related open issue.