3 ms·
What I'm really waiting for is zig support for custom range ints https://github.com/ziglang/zig/issues/3806 https://github.com/ziglang/zig/issues/3806 Also min
by Cloudef 3y ago
What I'm really waiting for is zig support for custom range ints https://github.com/ziglang/zig/issues/3806 https://github.com/ziglang/zig/issues/3806
Also minor nitpick I have is that the interval/range syntax in zig is pretty confusing as it can be both inclusive and exclusive depending on context. Swift does it imo better by ... being inclusive and ..< exclusive
- earthboundkid 3y agoI was surprised they didn’t copy Swift on this. It seems just obviously better than two dots.
- brabel 3y agoGroovy has had that syntax for much longer than Swift has existed... Groovy normally copies features from Ruby/Python/SmallTalk so I would think one of those are the source for this syntax.