Re:Zig's dot star syntax (value.*)
by 3836293648 on Sunday March 09, 2025 @06:17AM
(#43307798)
Oh yeah, forgot HN supported some markdown.
But this is literally not semantics. Semantics is everything of value, this is just syntax.
f(*g(*x)) is just as good as f(g(x*)*)
Hmm, function names go before parentheses, that looks like a good reason for dereferencing to be prefix too, otherwise they end up a long way apart.
But in the back of mind I'm thinking "semantics cause pointless fussy arguments, all code is ugly, let's stop programming in text somehow".