Re:Zig in 30 Minutes
by dnautics on Sunday January 03, 2021 @01:58AM
(#25620109)
Yep! The document has now been updated. I might have been blind to it because my daily driver is Elixir, and it does "basically the same thing" with keyword arguments.
[ Parent
| on HN ]
I totally understand why being immersed in something might make you lose perspective, but keeping this perspective is what differentiates a decent language designer from a great one.
Does this mean that zig doesn't support varargs? If not, why not?
Again, another question that a lot of people coming to your page will be asking themselves, please don't take that as a criticism, just candid feedback to help you make your article better.
Re:Zig in 30 Minutes
by edflsafoiewq on Sunday January 03, 2021 @03:00AM
(#25620364)
Zig does not have varargs. They were removed in favor of anonymous structs/tuples. See https://github.com/ziglang/zig/issues/208#issuecomment-39377....