This article was mostly about pointing out how `inline else` lends itself really well to writing tagged union interfaces, I would expect anybody who actively writes Zig and has metaprogramming experience to not have much trouble using it.
This article was mostly about pointing out how `inline else` lends itself really well to writing tagged union interfaces, I would expect anybody who actively writes Zig and has metaprogramming experience to not have much trouble using it.
https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
> Maybe finding an alias/new name for "inline" here can be considered before a "1.0".
I would be on board with that, yes.
I am afraid that the designers are blind to it because they are using it every day.
I am also afraid that once a lot of code and libraries are written, it will be difficult / impossible to change the syntax, it might already be too late.
I love Zig but the syntax quirks might considerably slow its adoption.
On top of that, in this specific case, `inline` has a Zig-specific meaning that pertains to generics and metaprogramming in a way that has not much to do with the C/C++ use of the term.