I'm trying to understand the syntax for declaring structs and errors.
const SomeStruct = struct { ... }
Is this an assignment? If, so, is struct an expression?
Also, I read in the docs, "all structs are anonymous".
I would expect something closer to C's syntax that declares a named struct, struct SomeStruct { ... } or Java's syntax that declares a named class, class SomeClass { ... }.
Especially because Zig functions are declared as named functions, fn foo( ... ) void { ... }