3 ms·
I'll counter with one reason why to prefer the dot: it mirrors the C99 standard. Part of zig's ethos is being friendly to C programmers. https://stackoverflow
by throwawaymaths 4y ago
I'll counter with one reason why to prefer the dot: it mirrors the C99 standard. Part of zig's ethos is being friendly to C programmers.
https://stackoverflow.com/questions/32698293/assign-values-to-structure-variables https://stackoverflow.com/questions/32698293/assign-values-t...
- brabel 4y agoYep, I also noticed that Zig just does what C does... coming from other C-like languages, like Java, JS, Go, though, which don't do that, I was also surprised.