|
|
|
|
|
by pron
1999 days ago
|
|
> There's absolutely nothing special about Zig That's just not true. It is not only pretty exceptional in its general partial evaluation construct combined with compile-time introspection (although D and Nim have some similar features), it is the only language AFAIK where a single general partial evaluation construct is used in stead of type generics, value generics, typeclasses/concepts, constexprs, macros and conditional compilation. Zig might not be your cup of tea, and that's fine, but it is without a doubt unique in its design and not only special, but pretty radical. > Talk about confusing, implicit syntax of Zig I don't think it's any more confusing than any other syntax (and less confusing than C's `for` syntax where the ubiquitous `;` is treated differently than anywhere else), even though it might not be familiar to you before learning it, but there is absolutely nothing implicit here. You might find `in` more appealing to you or more familiar than `|` but it's certainly not more explicit. |
|