2 ms·
Why is Zigs syntax so … foreign to me? What’s the hype behind it?
by Alifatisk 4y ago
Why is Zigs syntax so … foreign to me?
What’s the hype behind it?
- int_19h 4y agoTake a look at Rust and you'll see where a lot of it is coming from.
- kristoff_it 4y agoYou're looking at a piece of code that's doing a type of metaprogramming mostly unique to Zig. Additionally I'm using a for loop capture syntax that is not common in other languages (closest thing I can think of are Ruby blocks). You're just looking at a piece of code that is understandable for a newcomer to not find familiar.