Re:Zig's dot star syntax (value.*)
by FlyingSnake on Sunday March 09, 2025 @05:18PM
(#43313966)
But those are all variations of if-else, right?
The alternative to if-else would be something like `assuming-otherwise`.
The point was that there wasn’t really a pressing need to reinvent the *p/&p syntax.
It’s not that important though. Many people write two or more languages without mixing the syntax.
p.* and lv.& would be good post-operators, imo. Less going left and parenthesizing.