3 ms·
Ok I get you. The absence of traits (or concept) make documentation and reading the API harder. You see a `comptime T` somewhere and you don't what is expected
by skywal_l 4y ago
Ok I get you. The absence of traits (or concept) make documentation and reading the API harder. You see a `comptime T` somewhere and you don't what is expected of this type unless you either read the code in full or just try your type and see if it compiles.
That's a valid point indeed and there's an issue for that: https://github.com/ziglang/zig/issues/1268 https://github.com/ziglang/zig/issues/1268